Added support for yet another redhat clone - scientific linux

This commit is contained in:
Tobias Brox 2012-10-14 00:46:45 +02:00
parent b302fcf598
commit ddf026443e
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',
}
}