949a000e80
This commit adds Archlinux support. This needs changes in nginx.conf.erb template and manifests to support pid value set to `false` (this skips it from nginx.conf). This is due to `-pid /run/nginx.pid` being hardcoded to Archlinux template. If you specify pid additionally in `nginx.conf` then nginx fails to start.
25 lines
438 B
Puppet
25 lines
438 B
Puppet
# Class: nginx::package::archlinux
|
|
#
|
|
# This module manages NGINX package installation on Archlinux based systems
|
|
#
|
|
# Parameters:
|
|
#
|
|
# There are no default parameters for this class.
|
|
#
|
|
# Actions:
|
|
#
|
|
# Requires:
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
# This class file is not called directly
|
|
class nginx::package::archlinux(
|
|
$package_name = 'nginx',
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
package { $package_name:
|
|
ensure => $package_ensure,
|
|
}
|
|
|
|
}
|