blob: 95b8211accc78b3bb78135ce4707547cdb920d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class nodo::utils::desktop::gnome {
package { [ 'gnome', 'gnome-backgrounds' ]:
ensure => installed,
}
$network_manager = hiera('nodo::utils::laptop::debian::network_manager', 'absent')
# 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,
}
}
}
|