aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-08 14:50:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-08 14:50:49 -0300
commit703111bf47f476ddbc20669ff6aeab62dcd2643a (patch)
tree3092d2f5be1fd5d5c1ede24ada7da822cac07e83 /manifests/subsystem
parent1c8b5c5a28677fc7322f8e64c757b79ffe9d7326 (diff)
downloadpuppet-nodo-703111bf47f476ddbc20669ff6aeab62dcd2643a.tar.gz
puppet-nodo-703111bf47f476ddbc20669ff6aeab62dcd2643a.tar.bz2
Adds lightdm support for jessie
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/gdm3/disabled.pp13
-rw-r--r--manifests/subsystem/lightdm.pp10
-rw-r--r--manifests/subsystem/lightdm/disabled.pp9
3 files changed, 32 insertions, 0 deletions
diff --git a/manifests/subsystem/gdm3/disabled.pp b/manifests/subsystem/gdm3/disabled.pp
new file mode 100644
index 0000000..117c530
--- /dev/null
+++ b/manifests/subsystem/gdm3/disabled.pp
@@ -0,0 +1,13 @@
+class nodo::subsystem::gdm3::disabled {
+ Package['gdm3'] {
+ ensure => absent,
+ }
+
+ Service['gdm3'] {
+ ensure => stopped,
+ }
+
+ File['/etc/gdm3/greeter.gsettings'] {
+ ensure => absent,
+ }
+}
diff --git a/manifests/subsystem/lightdm.pp b/manifests/subsystem/lightdm.pp
new file mode 100644
index 0000000..ba10159
--- /dev/null
+++ b/manifests/subsystem/lightdm.pp
@@ -0,0 +1,10 @@
+class nodo::subsystem::lightdm {
+ package { 'lightdm':
+ ensure => present,
+ }
+
+ service { 'lightdm':
+ ensure => running,
+ require => Package['lightdm'],
+ }
+}
diff --git a/manifests/subsystem/lightdm/disabled.pp b/manifests/subsystem/lightdm/disabled.pp
new file mode 100644
index 0000000..4b9e4d2
--- /dev/null
+++ b/manifests/subsystem/lightdm/disabled.pp
@@ -0,0 +1,9 @@
+class nodo::subsystem::lightdm::disabled {
+ Package['lightdm'] {
+ ensure => absent,
+ }
+
+ Service['lightdm'] {
+ ensure => stopped,
+ }
+}