aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/gdm.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/gdm.pp')
-rw-r--r--manifests/subsystems/gdm.pp19
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,
+ }
+}