From 55e32f4245211e88c4eeb399fd70f22a82d357dd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Jul 2012 21:43:41 -0300 Subject: Fixing dpkg-reconfigure gdm --- files/etc/gdm/gdm.conf | 2 +- manifests/subsystems/gdm.pp | 5 +++-- 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'], } -- cgit v1.2.3