aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-21 12:35:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-21 12:35:28 -0300
commit92612be815d0aa19e6213eb6edaa21c86b50d695 (patch)
tree8405369852118cb7841ec489a676731db06d1e79 /manifests
parent7f002e81adeba77afabf614a87631218cafa3771 (diff)
downloadpuppet-nodo-92612be815d0aa19e6213eb6edaa21c86b50d695.tar.gz
puppet-nodo-92612be815d0aa19e6213eb6edaa21c86b50d695.tar.bz2
No madwifi sysctl config for squeeze
Diffstat (limited to 'manifests')
-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,
+ },
}
}