From: Silvio Rhatto Date: Fri, 18 Feb 2011 19:21:45 +0000 (-0200) Subject: Removing /etc/modprobe.d/madwifi for squeeze laptops X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=722ebc7aa075a91f1a35d5175650020202a01065;p=puppet-nodo.git Removing /etc/modprobe.d/madwifi for squeeze laptops --- diff --git a/manifests/laptop.pp b/manifests/laptop.pp index 6c8177b..f14dec0 100644 --- a/manifests/laptop.pp +++ b/manifests/laptop.pp @@ -25,6 +25,13 @@ class nodo::laptop inherits nodo::personal { ensure => present, } } + + # upgrade from lenny + if $lsbdistcodename != 'lenny' { + file { "/etc/modprobe.d/madwifi": + ensure => absent, + } + } } class nodo::laptop::webdev inherits nodo::laptop {