aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-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'],
}