commit
73902bf8fb
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ class nginx::package {
|
|||
before => Anchor['nginx::package::end'],
|
||||
}
|
||||
}
|
||||
amazon: {
|
||||
amazon,gentoo: {
|
||||
class { 'nginx::package::amazon':
|
||||
require => Anchor['nginx::package::begin'],
|
||||
before => Anchor['nginx::package::end'],
|
||||
|
|
|
@ -65,8 +65,8 @@ class nginx::params {
|
|||
}
|
||||
|
||||
$nx_daemon_user = $::operatingsystem ? {
|
||||
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
||||
/(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse|amazon)/ => 'nginx',
|
||||
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
||||
/(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse|amazon|gentoo)/ => 'nginx',
|
||||
}
|
||||
|
||||
# Service restart after Nginx 0.7.53 could also be just "/path/to/nginx/bin -s HUP"
|
||||
|
|
Loading…
Reference in a new issue