From 8efcb4aed9b0246a06374b400aaac6e0309b983c Mon Sep 17 00:00:00 2001 From: TP Honey Date: Thu, 19 Nov 2015 12:35:05 +0000 Subject: [PATCH] Update init.pp --- site/nginx/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ) } }