Change facter variable format

since facter variables are set at top scope, we can prefer "$::" to make
it explicit:
  * $operatingsystem => $::operatingsystem

Change-Id: I30a08e72182feae6f416cda96555d45d43dcc933
This commit is contained in:
Rongze Zhu 2013-12-30 10:59:00 +08:00
parent fa37fc0656
commit 0a8f231156
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class openstack::repo::rdo(
$release_cap = capitalize($release)
if $::osfamily == 'RedHat' {
case $operatingsystem {
case $::operatingsystem {
centos, redhat, scientific, slc: { $dist = 'epel' }
fedora: { $dist = 'fedora' }
}