Skip to content

Commit

Permalink
Explicitly set top-scope for facts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlastimil Holer committed Apr 24, 2013
1 parent 4bc4721 commit 66443f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/bond.pp
Expand Up @@ -147,7 +147,7 @@
ensure => $ensure, ensure => $ensure,
} }


case $osfamily { case $::osfamily {
Debian: { Debian: {
network::bond::debian { $name: network::bond::debian { $name:
slaves => $slaves, slaves => $slaves,
Expand Down Expand Up @@ -193,7 +193,7 @@
} }
} }
default: { default: {
fail("network::bond does not support osfamily '${osfamily}'") fail("network::bond does not support osfamily '${::osfamily}'")
} }
} }
} }
2 changes: 1 addition & 1 deletion manifests/bond/setup.pp
@@ -1,6 +1,6 @@
class network::bond::setup { class network::bond::setup {


case $osfamily { case $::osfamily {
RedHat: { RedHat: {
# Redhat installs the ifenslave command with the iputils package which # Redhat installs the ifenslave command with the iputils package which
# is available by default # is available by default
Expand Down

0 comments on commit 66443f1

Please sign in to comment.