- From: Alfredo Palhares <
>
- To: chef <
>
- Subject: [chef] Template being updated every chef run
- Date: Sat, 13 Oct 2012 01:32:50 +0200
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
[1]
http://paste.debian.net/199700/
- [chef] Template being updated every chef run, Alfredo Palhares, 10/12/2012
[chef] Re: Template being updated every chef run, John Dewey, 10/12/2012
Archive powered by MHonArc 2.6.16.