Skip to content

Commit

Permalink
Add scientific linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
hunner committed Nov 8, 2012
1 parent 3adb560 commit f5bb615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
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'],
Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
}

$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"
Expand Down

0 comments on commit f5bb615

Please sign in to comment.