All, I found this post as I was having the same issue. I added the template 
and the first run it buckets the file because it is once again changed but 
not the second time, the third time it runs it complains it cannot 
Filebucket the file because it exists.
here is the template
<%=
  facts = scope.to_hash.reject {|k,v| k.to_s =~ 
/^(uptime.*|rubysitedir|_timestamp|memoryfree|extlookup_precedence|extlookup_datadir|swapfree|title|name|caller_module_name|module_name|last_run)$/
 
}
  facts.keys.sort.map {|f| {f => 
facts[f]}.to_yaml.to_a[1..-1].join}.join("\n")
%>

here is the error from trace on the client.
Error: /Stage[main]/Main/File[/etc/mcollective/facts.yaml]/content: change 
from {md5}1b7af6a10f71df6e3ac2eece4d5f14d5 to 
{md5}8bc466df9567f5e0ccc12581e4fc9c3c failed: Could not back up 
/etc/mcollective/facts.yaml: Error 400 on SERVER: File exists - 
/var/lib/puppet/bucket/1

Thanks !
Robert

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8782b35a-2c91-4d28-8caa-f92ee14c1e8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to