aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-12 14:43:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-12 14:43:37 -0300
commit603b34caa0144ece0259e025e98797c24e8041b7 (patch)
tree74b5cc61f9e10750963552af5ce45a3458891c8d /manifests/utils
parent91250d5107b962eef0b8412e7b1d929f8efc9651 (diff)
downloadpuppet-nodo-603b34caa0144ece0259e025e98797c24e8041b7.tar.gz
puppet-nodo-603b34caa0144ece0259e025e98797c24e8041b7.tar.bz2
Use of wicd or network-manager can be configurable
Diffstat (limited to 'manifests/utils')
-rw-r--r--manifests/utils/laptop/debian.pp9
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/utils/laptop/debian.pp b/manifests/utils/laptop/debian.pp
index fc21e5e..4b3e930 100644
--- a/manifests/utils/laptop/debian.pp
+++ b/manifests/utils/laptop/debian.pp
@@ -11,16 +11,19 @@ class nodo::utils::laptop::debian {
ensure => installed,
}
+ $wicd = hiera('nodo::utils::laptop::debian::wicd', 'installed')
+ $network_manager = hiera('nodo::utils::laptop::debian::network_manager', 'absent')
+
# Wicd
package { [ 'wicd', 'wicd-curses', 'wicd-gtk' ]:
- ensure => installed,
+ ensure => wicd,
}
- # Wheezy specific packages
+ # Network manager
package { 'network-manager':
ensure => $::lsbdistcodename ? {
'squeeze' => absent,
- default => absent,
+ default => $network_manager,
}
}