aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/utils/desktop/gnome.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/utils/desktop/gnome.pp b/manifests/utils/desktop/gnome.pp
index 95b8211..a853530 100644
--- a/manifests/utils/desktop/gnome.pp
+++ b/manifests/utils/desktop/gnome.pp
@@ -3,7 +3,7 @@ class nodo::utils::desktop::gnome {
ensure => installed,
}
- $network_manager = hiera('nodo::utils::laptop::debian::network_manager', 'absent')
+ $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.
@@ -13,4 +13,10 @@ class nodo::utils::desktop::gnome {
enable => false,
}
}
+ else {
+ service { 'network-manager':
+ ensure => running,
+ enable => true,
+ }
+ }
}