Interesting issue... Thanks for sharing... Looks like one of the template is failing while trying to "move" the file (atomic update - a new feature of 11.6).
A few questions & ideas Brian:
- What is the windows flavor you are working on?
- Looks like the files are going to "C:". Is the source of the template also on the same drive?
- How is the "/etc/sensu/conf.d/" directory is created?
[node['sensu']['dir'], node['sensu']['conf_dir'], node['sensu']['ssl_dir'], node['sensu']['log_dir'], node['sensu']['plugin_dir']].each do |dir|
directory dir do
action :create
recursive true
owner node['sensu']['user']
group node['sensu']['group']
mode "0755"
end
end
- Can you check the ACLs (permissions) on that directory before the run and after a chef-client run?
- Can you try setting atomic_update = false in these resources and see if that works for you?
Archive powered by MHonArc 2.6.16.