aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/sysctl.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/subsystems/sysctl.pp b/manifests/subsystems/sysctl.pp
index 7dfb875..f9cbb99 100644
--- a/manifests/subsystems/sysctl.pp
+++ b/manifests/subsystems/sysctl.pp
@@ -20,7 +20,10 @@ class sysctl::laptop {
owner => "root",
group => "root",
mode => 0644,
- ensure => present,
source => "puppet://$server/modules/nodo/etc/sysctl.d/madwifi.conf",
+ ensure => $lsbdistcodename ? {
+ 'lenny' => present,
+ default => absent,
+ },
}
}