Skip to content

Commit

Permalink
Update init.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Nov 19, 2015
1 parent 5e06d12 commit 8efcb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/nginx/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class nginx {

case $::operatingsystem {
case $::osfamily {
'redhat': {
$http_dir = '/var/www'
$nginx_base_dir = '/etc/nginx'
Expand All @@ -14,7 +14,7 @@
}
default: {
# default assumes WHO CARES
fail ( "OS NOT SUPPORTED" )
fail ( "${osfamily}: OS NOT SUPPORTED" )
}
}

Expand Down

0 comments on commit 8efcb4a

Please sign in to comment.