From a9355e721fd73447abc44583d8ec22cc94684b1e Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Mon, 8 Sep 2014 14:36:48 -0400 Subject: [PATCH] Use osfamily fact instead of operatingsystem. The operatingsystem fact is used across the whole module. Ensure this applies and switch from operatingsystem fact to osfamily where needed. --- manifests/loadbalancer.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index 64d62c4d..dea27a03 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -454,7 +454,7 @@ class cloud::loadbalancer( options => $heat_cloudwatch_options } - if $::operatingsystem == 'RedHat' { + if $::osfamily == 'RedHat' { $horizon_auth_url = 'dashboard' } else { $horizon_auth_url = 'horizon'