diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 12:48:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 12:48:49 -0200 |
commit | e9ba0f38558409c6118c49567970eddf54758b60 (patch) | |
tree | 1def3df225e8508e2a841b6fe58c1e30f70aec01 | |
parent | 5c142f6c5a3cfd0ca4154fb770828b59aa5a90bd (diff) | |
download | puppet-nodo-e9ba0f38558409c6118c49567970eddf54758b60.tar.gz puppet-nodo-e9ba0f38558409c6118c49567970eddf54758b60.tar.bz2 |
Adding gdm::disabled class
-rw-r--r-- | manifests/subsystems/gdm.pp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/subsystems/gdm.pp b/manifests/subsystems/gdm.pp index 7dbf129..5e4da07 100644 --- a/manifests/subsystems/gdm.pp +++ b/manifests/subsystems/gdm.pp @@ -64,3 +64,22 @@ class gdm { source => 'puppet:///modules/nodo/etc/gdm/themes/dasUberMini', } } + +class gdm::disabled inherits gdm { + File['/usr/share/gdm/themes/dasUberMini', '/usr/share/gdm/themes/Tuxtastic', + '/usr/share/gdm/themes/crunchbang', '/etc/gdm/gdm.conf' ] { + ensure => absent, + } + + Exec['/usr/sbin/dpkg-reconfigure gdm'] { + ensure => absent, + } + + Service['gdm'] { + ensure => stopped, + } + + Package['gdm'] { + ensure => absent, + } +} |