aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/gdm.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/gdm.pp')
-rw-r--r--manifests/subsystems/gdm.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/subsystems/gdm.pp b/manifests/subsystems/gdm.pp
index 024b4cd..40ed9e6 100644
--- a/manifests/subsystems/gdm.pp
+++ b/manifests/subsystems/gdm.pp
@@ -8,12 +8,18 @@ class gdm {
require => Package['gdm'],
}
+ exec { 'dpkg-reconfigure gdm':
+ path => ['/usr/sbin'],
+ subscribe => File['/etc/gdm/gdm.conf'],
+ refreshonly => true,
+ require => Service['gdm'],
+ }
+
file { '/etc/gdm/gdm.conf':
ensure => present,
owner => root,
group => root,
mode => 0644,
- notify => Service['gdm'],
source => [ "puppet:///modules/site-nodo/etc/gdm/$domain/gdm.conf",
"puppet:///modules/nodo/etc/gdm/gdm.conf", ]
}