Re: [Puppet Users] Resource ordering problem

2013-09-09 Thread Brian Lalor
On Sep 9, 2013, at 10:02 AM, Brian Lalor wrote: > I'm struggling once again with resource ordering with Puppet. *sigh* Looks like the if defined(Class['rabbitmq::service']) { … } guard I've got around these relationships is wrong. It's gonna be that kind of week, isn't it? :-( Sor

[Puppet Users] Resource ordering problem

2013-09-09 Thread Brian Lalor
I'm struggling once again with resource ordering with Puppet. I'm using Puppet 3.2.4, v3.0.0 of the Puppetlabs RabbitMQ module and v0.7.5 of the Sensu module. I'm trying to compose a system from these modules that runs the Sensu server, as well as the RabbitMQ server. I have the following rel

Re: [Puppet Users] Resource ordering problem...

2013-01-31 Thread joe
Nothing about your notify resources is actually telling you what's going on with the variables. Just because the details notify happens last, doesn't mean that the variable was evaluated at that time. Variable assignment is parse-order dependent. I'd look to make sure your custom function actual

Re: [Puppet Users] Resource ordering problem...

2013-01-31 Thread fatmcgav
Matt Yeh, the function is defined within this module... I'll give moving the loadyaml into parse_databases a go when back in the office in the morning... Any other ideas welcome though... Cheers Gavin On Jan 31, 2013 8:43 PM, "Matthew Burgess" wrote: > On Thu, Jan 31, 2013 at 5:52 PM, Gavin W

Re: [Puppet Users] Resource ordering problem...

2013-01-31 Thread Matthew Burgess
On Thu, Jan 31, 2013 at 5:52 PM, Gavin Williams wrote: > Afternoon all > > I'm sure this is probably a nice n easy one, but I can't work it out for the > life of me... > > Anyhow, I've got the following code: > # Load db yaml data > $db_details = loadyaml('/etc/puppet/data/databases.yaml') > >

[Puppet Users] Resource ordering problem...

2013-01-31 Thread Gavin Williams
Afternoon all I'm sure this is probably a nice n easy one, but I can't work it out for the life of me... Anyhow, I've got the following code: # Load db yaml data $db_details = loadyaml('/etc/puppet/data/databases.yaml') notify{"DB Details loaded... About to parse.":} -> notify{"DB De