Why would you want to do this? puppetmaster will notice changes to
these files without needing to be restarted.

--Paul

On Sun, Aug 30, 2009 at 11:34 AM, ELTigre<[email protected]> wrote:
>
> I create this class pmaster in order to restart puppetmaster daemon
> after /etc/puppet/puppet.conf  file change.
>
> class pmaster  {
>
>                file { "/etc/puppet/puppet.conf":
>                        ensure => "file";
>                }
>
>                service { "puppetmaster":
>                        ensure => "running",
>                        enable => "true",
>                        hasrestart => "true",
>                        subscribe => File [ "/etc/puppet/puppet.conf" ]
>          }
>
> BUT I have a lot of modules and files inside /etc/puppet folder.
>
> My question is:
>
> What if I want to restart puppetmaster daemon if any file inside /etc/
> puppet change?
> regards,
> Israel.
>
> >
>

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

Reply via email to