From: Silvio Rhatto Date: Thu, 12 Sep 2013 17:43:37 +0000 (-0300) Subject: Use of wicd or network-manager can be configurable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=603b34caa0144ece0259e025e98797c24e8041b7;p=puppet-nodo.git Use of wicd or network-manager can be configurable --- 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, } }