aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/gdm.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-09 21:34:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-09 21:34:20 -0300
commitebf239dc3def5d1754eb7c880689b0d99b97d13c (patch)
tree039e3fb89fec83d7ea41b3ffbc69235929ea9fbf /manifests/subsystems/gdm.pp
parentc70ed84843efc3c5ee2254c4cf42630d8b1f44d4 (diff)
downloadpuppet-nodo-ebf239dc3def5d1754eb7c880689b0d99b97d13c.tar.gz
puppet-nodo-ebf239dc3def5d1754eb7c880689b0d99b97d13c.tar.bz2
Changing gdm refresh method
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", ]
}