aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/laptop.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-29 22:13:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-29 22:13:00 -0200
commitda1a58d5ee1623a7cc17045b9e2953c1c9f449ef (patch)
tree9516074fbe69efc5cf3a7e697893a5bda2bf11b3 /manifests/subsystems/utils/laptop.pp
parent794e890b4d991be1b7cdf030b90f6bc34764b6b8 (diff)
downloadpuppet-nodo-da1a58d5ee1623a7cc17045b9e2953c1c9f449ef.tar.gz
puppet-nodo-da1a58d5ee1623a7cc17045b9e2953c1c9f449ef.tar.bz2
More variable scope updates
Diffstat (limited to 'manifests/subsystems/utils/laptop.pp')
-rw-r--r--manifests/subsystems/utils/laptop.pp6
1 files changed, 3 insertions, 3 deletions
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 ? {