]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Changing gdm refresh method
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 10 Jul 2012 00:34:20 +0000 (21:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 10 Jul 2012 00:34:20 +0000 (21:34 -0300)
manifests/subsystems/gdm.pp

index 024b4cd60d560521360d66b3003a9c237fc43513..40ed9e68ef2a51958681295e2a5e9276eb8217e0 100644 (file)
@@ -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", ]
   }