Permalink
Browse files

Explicitly set top-scope for facts

  • Loading branch information...
1 parent 4bc4721 commit 66443f1d68cf2e2c12c33fb4e5e00530952175c2 @vholer vholer committed Apr 24, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 manifests/bond.pp
  2. +1 −1 manifests/bond/setup.pp
View
@@ -147,7 +147,7 @@
ensure => $ensure,
}
- case $osfamily {
+ case $::osfamily {
Debian: {
network::bond::debian { $name:
slaves => $slaves,
@@ -193,7 +193,7 @@
}
}
default: {
- fail("network::bond does not support osfamily '${osfamily}'")
+ fail("network::bond does not support osfamily '${::osfamily}'")
}
}
}
View
@@ -1,6 +1,6 @@
class network::bond::setup {
- case $osfamily {
+ case $::osfamily {
RedHat: {
# Redhat installs the ifenslave command with the iputils package which
# is available by default

0 comments on commit 66443f1

Please sign in to comment.