Skip to content
Browse files

NetworkManager sucks.

  • Loading branch information...
1 parent 290773e commit e8e995f512f9cfe574541a3cb75be0c6632f7583 @uberj committed Apr 3, 2012
View
1 manifests/nodes/batty.pp
@@ -7,4 +7,5 @@
include xmonad
include xmonad::xmobar
include keychain
+ include network_manager
}
View
7 modules/network_manager/manifests/init.pp
@@ -0,0 +1,7 @@
+class network_manager {
+ include network_manager::params
+ package { "network_manager":
+ name => "${network_manager::params::nm_package}",
+ ensure => purged,
+ }
+}
View
7 modules/network_manager/manifests/params.pp
@@ -0,0 +1,7 @@
+class network_manager::params {
+ $nm_package = $::operatingsystem ? {
+ /Fedora/ => 'NetworkManager',
+ /Ubuntu/ => 'network-manager',
+ default => 'network-manager',
+ }
+}
View
5 modules/users/manifests/uberj.pp
@@ -20,7 +20,10 @@
#os::user_config { "$ { username}": }
bash::user_config { "${username}": }
- xmonad::user_config { "${username}": }
+ xmonad::user_config { "${username}":
+ xmonad_template => "users/uberj/xmonad.erb",
+ xmobar_template => "users/uberj/xmobar.erb",
+ }
ruby::dev::user_config { "${username}": }
puppet::dev::user_config { "${username}": }
}

0 comments on commit e8e995f

Please sign in to comment.
Something went wrong with that request. Please try again.