Merge pull request #37 from hunner/add_scilinux
Add scientific linux support
This commit is contained in:
commit
04b20ecc01
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class nginx::package {
|
|||
anchor { 'nginx::package::end': }
|
||||
|
||||
case $::operatingsystem {
|
||||
centos,fedora,rhel,redhat: {
|
||||
centos,fedora,rhel,redhat,scientific: {
|
||||
class { 'nginx::package::redhat':
|
||||
require => Anchor['nginx::package::begin'],
|
||||
before => Anchor['nginx::package::end'],
|
||||
|
|
|
@ -51,8 +51,8 @@ class nginx::params {
|
|||
}
|
||||
|
||||
$nx_daemon_user = $::operatingsystem ? {
|
||||
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
||||
/(?i-mx:fedora|rhel|redhat|centos|suse|opensuse)/ => 'nginx',
|
||||
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
||||
/(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse)/ => 'nginx',
|
||||
}
|
||||
|
||||
# Service restart after Nginx 0.7.53 could also be just "/path/to/nginx/bin -s HUP"
|
||||
|
|
Loading…
Reference in a new issue