Hi,

I am using the following function to update the puppet.conf file using the 
contents of a template file.

file { '/etc/puppet/puppet.conf' :
    ensure => present,
    content => template("my-puppetmaster/puppetmaster.conf.erb"),
    notify => Service[puppetmaster],}


The problem i have is that I am using a client-server puppet setup, and at 
each interval puppets run. It repeats this scripts and updates the content 
and restart puppet masters. I do not want this to happen.


If I set the content in plain text (not a template), the function does not 
update/restart. 
file { '/etc/puppet/puppet.conf' :
    ensure => present,
    content => "content here",
    notify => Service[puppetmaster],}


Is there any approach to use tempaltes and not have puppet restarting each 
time?  



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to