On 12/03/2012 11:39 AM, Andrew Beresford wrote:
> I have set up puppet to create a facts.yaml file for mcollective using
> the following line:
There was another thread open few days ago, and suggested solution was:
content => inline_template('<%= Hash[scope.to_hash.reject { |k,v|
k.to_s =~ /(uptime|timestamp|memory|free|swap)/ }.sort].to_yaml %>'),
This works for me (TM) :)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.