aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-09 21:43:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-09 21:43:41 -0300
commit55e32f4245211e88c4eeb399fd70f22a82d357dd (patch)
treea797fa23ee068d6c7491f95456039a2745a4b512
parent749919e9e2a6aa4f072c0b99111941f6146f8aed (diff)
downloadpuppet-nodo-55e32f4245211e88c4eeb399fd70f22a82d357dd.tar.gz
puppet-nodo-55e32f4245211e88c4eeb399fd70f22a82d357dd.tar.bz2
Fixing dpkg-reconfigure gdm
-rw-r--r--files/etc/gdm/gdm.conf2
-rw-r--r--manifests/subsystems/gdm.pp5
2 files changed, 4 insertions, 3 deletions
diff --git a/files/etc/gdm/gdm.conf b/files/etc/gdm/gdm.conf
index adea354..b66bace 100644
--- a/files/etc/gdm/gdm.conf
+++ b/files/etc/gdm/gdm.conf
@@ -62,7 +62,7 @@
[greeter]
-GraphicalTheme=Tuxtastic
+GraphicalTheme=crunchbang
GraphicalThemes=crunchbang/:Tuxtastic
Browser=false
GraphicalThemedColor=#000000
diff --git a/manifests/subsystems/gdm.pp b/manifests/subsystems/gdm.pp
index 40ed9e6..403fd25 100644
--- a/manifests/subsystems/gdm.pp
+++ b/manifests/subsystems/gdm.pp
@@ -8,9 +8,10 @@ class gdm {
require => Package['gdm'],
}
- exec { 'dpkg-reconfigure gdm':
- path => ['/usr/sbin'],
+ exec { '/usr/sbin/dpkg-reconfigure gdm':
subscribe => File['/etc/gdm/gdm.conf'],
+ user => root,
+ group => root,
refreshonly => true,
require => Service['gdm'],
}