Re: [Puppet Users] custom function to read inifile

2014-07-23 Thread Henrik Lindberg
On 2014-22-07 23:36, Ritesh Nanda wrote: Hello , I was trying to write a custom function which would run on puppet master take input a ini file , parse a section of that ini file and assign its value to a variable .. Something like $test = iniread('example.ini', 'Program', 'path') This would a

[Puppet Users] custom function to read inifile

2014-07-22 Thread Ritesh Nanda
Hello , I was trying to write a custom function which would run on puppet master take input a ini file , parse a section of that ini file and assign its value to a variable . Something like $test = iniread('example.ini', 'Program', 'path') This would assign the value to test variable when the