[chef] Re: Template being updated every chef run


Chronological Thread 
  • From: John Dewey < >
  • To:
  • Subject: [chef] Re: Template being updated every chef run
  • Date: Fri, 12 Oct 2012 17:19:55 -0700

I have ran into this same problem.  I believe it is related to: http://tickets.opscode.com/browse/COOK-1460 not just pagerduty.

John

On Friday, October 12, 2012 at 4:32 PM, Alfredo Palhares wrote:

Hello,

I have a simple template like this

template "/etc/nagios3/conf.d/pagerduty_nagios.cfg" do
source "pagerduty_nagios.cfg.erb"
owner "nagios"
group "nagios"
mode 00644
variables(
:pager => pagerduty["pager"]
)
notifies :restart, resources(:service => "nagios3")
end

What happens it that the template its updated every time chef-client runs, and nagios is restarted
wich is bad, silly and annoying.
Chef claims the content, user and group changed. But it doesn't. File checsum, user and group does
not change.
Here is the full chef-run[1]. User 104 is nagios user.

Help, because i am clueless why this happens





Archive powered by MHonArc 2.6.16.

§