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.
This commit is contained in:
Yanis Guenane
2014-09-08 14:36:48 -04:00
parent f62e45d70d
commit a9355e721f

View File

@@ -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'