Merge pull request #72 from castiel/master

Gentoo support
This commit is contained in:
James Fryman 2013-06-18 19:33:07 -07:00
commit 73902bf8fb
2 changed files with 3 additions and 3 deletions

View file

@ -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'],

View file

@ -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"