Permalink
Browse files

Better style for network_manager class.

Even though no one likes.
  • Loading branch information...
1 parent acbeac3 commit e7854193455384d4b23c71665fab6027132737db @mythmon mythmon committed Apr 4, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −1 manifests/nodes/batty.pp
  2. +2 −2 modules/network_manager/manifests/init.pp
View
@@ -7,5 +7,8 @@
include xmonad
include xmonad::xmobar
include keychain
- include network_manager
+
+ class { "network_manager":
+ ensure => "purged",
+ }
}
@@ -1,7 +1,7 @@
-class network_manager {
+class network_manager ($ensure="present") {
include network_manager::params
package { "network_manager":
name => "${network_manager::params::nm_package}",
- ensure => purged,
+ ensure => $ensure,
}
}

0 comments on commit e785419

Please sign in to comment.