Merge pull request #27 from tobixen/master
Support for Scientific Linux
This commit is contained in:
commit
6f40d2765e
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class nginx::package {
|
||||||
anchor { 'nginx::package::end': }
|
anchor { 'nginx::package::end': }
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
centos,fedora,rhel: {
|
centos,fedora,rhel,scientific: {
|
||||||
class { 'nginx::package::redhat':
|
class { 'nginx::package::redhat':
|
||||||
require => Anchor['nginx::package::begin'],
|
require => Anchor['nginx::package::begin'],
|
||||||
before => Anchor['nginx::package::end'],
|
before => Anchor['nginx::package::end'],
|
||||||
|
|
|
@ -51,6 +51,6 @@ class nginx::params {
|
||||||
|
|
||||||
$nx_daemon_user = $::operatingsystem ? {
|
$nx_daemon_user = $::operatingsystem ? {
|
||||||
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
/(?i-mx:debian|ubuntu)/ => 'www-data',
|
||||||
/(?i-mx:fedora|rhel|centos|suse|opensuse)/ => 'nginx',
|
/(?i-mx:fedora|rhel|centos|scientific|suse|opensuse)/ => 'nginx',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue