aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
}
}