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 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?