Added support for yet another redhat clone - scientific linux
This commit is contained in:
parent
b302fcf598
commit
ddf026443e
2 changed files with 2 additions and 2 deletions
|
@ -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'],
|
||||
|
|
|
@ -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',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue