Hello,
I'm writing some custom facts for a puppet server.
I need a ruby function for reading a ini file:
eg:
users_prop.cfg
Code:
[user1]
command1 = cmdA
command2 = cmdB
command3 = cmdC
[user2]
command1 = NA
Before someone recommend me : rubygem inifile, puppetmaster + clinets , none of them have internet access, + I've been prohibited to install any 3rd party applications/module from internet w/o special permission, so, I just have to reinvent the wheel...
Any help is appreciated...