[Puppet Users] Re: config files for ruby dsl manifests

2011-09-06 Thread Matt
I'm trying to write a ruby dsl manifest that pulls data from a database. The issue I'm trying to overcome is I dont want to have to hardcode the location of the db configuration. If I set it at the init.pp level the configuration it will be picked up as top scope and dumped to the facts, and also

Re: [Puppet Users] Re: config files for ruby dsl manifests

2011-09-06 Thread Nan Liu
On Tue, Sep 6, 2011 at 9:08 AM, Matt mjbl...@gmail.com wrote: I'm trying to write a ruby dsl manifest that pulls data from a database. The issue I'm trying to overcome is I dont want to have to hardcode the location of the db configuration. If I set it at the init.pp level the configuration it

[Puppet Users] Re: config files for ruby dsl manifests

2011-09-06 Thread Matt
I am using 2.6.6, when I try your example I get a empty string back, I tried with 'module_name' and the actual name of the module and both return an empty string. On Sep 6, 12:27 pm, Nan Liu n...@puppetlabs.com wrote: On Tue, Sep 6, 2011 at 9:08 AM, Matt mjbl...@gmail.com wrote: I'm trying