> I'd try to change the /var/named to this:-
> 
> file { "/var/named":
>         ensure => directory,
>         notify => Exec["/etc/init.d/named reload"],
>         owner   =>      named,
>         group   =>      named,
>         mode    =>      0644,
>         require =>      File["/etc/named.root.hints"],
>         source  =>      "puppet:///dnsauth/var/named",
>         recurse =>      true,
>         force   =>      true,
>         ignore  =>      ".svn",
>         purge   =>      true,
>  }
> 
> and remove the subscribes from the Exec
> 
> HTH
> 
> Gary
> 
>


Hi,

This didn't have any effect - still the same... heres the debug I get 
after modifying a zone file under /var/named/zones, you'll see it pushes 
the file out but never actually attempts to run the code...

# puppetd --verbose --no-daemonize --debug -o

  Reopening log files
  Compiled catalog for puppet in 0.17 seconds
  Caching catalog at /var/lib/puppet/localconfig.yaml
  Starting catalog run
  (//Node[dev-mgmt]/dnsauth/File[/var/named/zones]/checksum) checksum 
changed '{mtime}Wed Mar 25 14:03:37 +0000 2009' to '{mtime}Wed Mar 25 
14:14:12 +0000 2009'
  (Filebucket[/var/lib/puppet/clientbucket]) Adding 
/var/named/zones/hosts.domain.co.uk.db(a1782f4546b5e3073361c4492b20fa0b)
 
(//Node[dev-mgmt]/dnsauth/File[/var/named/zones/hosts.domain.co.uk.db]) 
Filebucketed to puppet with sum a1782f4546b5e3073361c4492b20fa0b
 
(//Node[dev-mgmt]/dnsauth/File[/var/named/zones/hosts.domain.co.uk.db]/source) 
replacing from source 
puppet:///dnsauth/var/named/zones/hosts.domain.co.uk.db with contents 
{md5}39a30e0190fa590180ff857a0a896c9c
  Compiled catalog for host091.network.domain.co.uk in 0.10 seconds
  (//Node[dev-mgmt]/dnsauth/File[/var/named/data]/checksum) checksum 
changed '{mtime}Wed Mar 25 14:06:09 +0000 2009' to '{mtime}Wed Mar 25 
14:14:14 +0000 2009'
  Finished catalog run in 8.42 seconds

Cheers
Craig



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to