From: Silvio Rhatto Date: Tue, 10 Jul 2012 00:34:20 +0000 (-0300) Subject: Changing gdm refresh method X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ebf239dc3def5d1754eb7c880689b0d99b97d13c;p=puppet-nodo.git Changing gdm refresh method --- 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", ] }