Hello,

I'm looking to implement a custom fact that tells my puppet config if a 
machine is configured a certain way. What I want to do is parse the 
configuration's ini file and see if a certain setting is turned on or off. 
I'm looking at using the ruby gem inifile 
<https://rubygems.org/gems/inifile>to do this. 

Couple of questions. I'm assuming that facts, unlike functions, are run on 
the node, correct? So if that is the case what is the best way to 
distribute this gem to all hosts? 

Final question. Am I barking up the wrong tree trying to use this library 
to parse an ini file? Has anyone else done this type of thing?  

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5ea8bec3-8fe6-4583-913c-d26d0297f2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to