From da1a58d5ee1623a7cc17045b9e2953c1c9f449ef Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Jan 2013 22:13:00 -0200 Subject: More variable scope updates --- manifests/subsystems/utils/laptop.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/subsystems/utils/laptop.pp') diff --git a/manifests/subsystems/utils/laptop.pp b/manifests/subsystems/utils/laptop.pp index 3519415..614e278 100644 --- a/manifests/subsystems/utils/laptop.pp +++ b/manifests/subsystems/utils/laptop.pp @@ -1,6 +1,6 @@ # Common utilities for laptop class utils::laptop { - case $operatingsystem { + case $::operatingsystem { debian: { include utils::laptop::debian } @@ -24,14 +24,14 @@ class utils::laptop::debian { # Lenny specific packages package { [ 'madwifi-source', 'madwifi-tools', 'bluez-gnome' ]: - ensure => $lsbdistcodename ? { + ensure => $::lsbdistcodename ? { 'lenny' => installed, default => absent, } } # Hibernation on lenny - if $lsbdistcodename == 'lenny' { + if $::lsbdistcodename == 'lenny' { $hibernate = hiera('nodo::laptop::hibernate', false) package { 'uswsusp': ensure => $hibernate ? { -- cgit v1.2.3