aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/gdm.pp
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 /manifests/subsystems/gdm.pp
parent749919e9e2a6aa4f072c0b99111941f6146f8aed (diff)
downloadpuppet-nodo-55e32f4245211e88c4eeb399fd70f22a82d357dd.tar.gz
puppet-nodo-55e32f4245211e88c4eeb399fd70f22a82d357dd.tar.bz2
Fixing dpkg-reconfigure gdm
Diffstat (limited to 'manifests/subsystems/gdm.pp')
-rw-r--r--manifests/subsystems/gdm.pp5
1 files changed, 3 insertions, 2 deletions
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'],
}