Merge pull request #27 from tobixen/master

Support for Scientific Linux
This commit is contained in:
Stephen Johnson 2012-10-16 08:30:06 -07:00
commit 6f40d2765e
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ class nginx::package {
anchor { 'nginx::package::end': }
case $::operatingsystem {
centos,fedora,rhel: {
centos,fedora,rhel,scientific: {
class { 'nginx::package::redhat':
require => Anchor['nginx::package::begin'],
before => Anchor['nginx::package::end'],

View file

@ -51,6 +51,6 @@ class nginx::params {
$nx_daemon_user = $::operatingsystem ? {
/(?i-mx:debian|ubuntu)/ => 'www-data',
/(?i-mx:fedora|rhel|centos|suse|opensuse)/ => 'nginx',
/(?i-mx:fedora|rhel|centos|scientific|suse|opensuse)/ => 'nginx',
}
}