Skip to content

Commit

Permalink
Merge pull request #37 from hunner/add_scilinux
Browse files Browse the repository at this point in the history
Add scientific linux support
  • Loading branch information
James Fryman committed Dec 14, 2012
2 parents 688948a + f171713 commit 04b20ec
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 04b20ec

Please sign in to comment.