diff --git a/site/nginx/manifests/init.pp b/site/nginx/manifests/init.pp index e49d82a636..31353c35a2 100644 --- a/site/nginx/manifests/init.pp +++ b/site/nginx/manifests/init.pp @@ -1,6 +1,6 @@ class nginx { - case $::operatingsystem { + case $::osfamily { 'redhat': { $http_dir = '/var/www' $nginx_base_dir = '/etc/nginx' @@ -14,7 +14,7 @@ } default: { # default assumes WHO CARES - fail ( "OS NOT SUPPORTED" ) + fail ( "${osfamily}: OS NOT SUPPORTED" ) } }