Displaying 1 result from an estimated 1 matches for "node_some_lett".
Did you mean:
node_some_letter
2011 Jun 14
4
Question about custom function.
...0Nc it works just fine.
So I tried to move it to puppet as my custom function. It''s available
for review here: http://pastebin.com/AeQgTTT6
Now, when I''m running first in irb, I see that script loads
properties file and instance() function returns "node_#{l}" which is
`node_SOME_LETTER'' and that''s exactly what I want it to do.
But as long as I''m running irb against puppet file, I see there''s no
data loaded into `filename'' hash. When I run `puppetd -tv'' on client,
I''ve got timeout (after 120 seconds which is default...