From 2b667cbc26b5f0f3b4a6be1555b605004b84fdbe Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 Mar 2016 12:54:09 -0300 Subject: Simplify wicd/network-manager handling --- manifests/utils/desktop/gnome.pp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'manifests/utils/desktop') diff --git a/manifests/utils/desktop/gnome.pp b/manifests/utils/desktop/gnome.pp index a853530..3542f34 100644 --- a/manifests/utils/desktop/gnome.pp +++ b/manifests/utils/desktop/gnome.pp @@ -2,21 +2,4 @@ class nodo::utils::desktop::gnome { package { [ 'gnome', 'gnome-backgrounds' ]: ensure => installed, } - - $network_manager = hiera('nodo::utils::laptop::debian::network_manager', 'installed') - - # Network manager is a gnome dependency and we should disable it if the machine - # is using gnome but other networking tool to avoid conflicts. - if ($network_manager == 'absent') { - service { 'network-manager': - ensure => stopped, - enable => false, - } - } - else { - service { 'network-manager': - ensure => running, - enable => true, - } - } } -- cgit v1.2.3