Hello group,

I'm trying to generate configuration for tomcat server. I want it to
depend on my mod_jk properties file. I wrote some simple script which
you can see here: http://pastebin.com/CffBr0Nc 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), but puppet master
is still running (spawned by passanger) until it got killed by
oom-killer.

Please, give me some hints what am I doing wrong.

Regards,
-- 
Dominik Zyla

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to