[Puppet Users] Weird variable dependency issue + different behavior between master/masterless

2012-09-05 Thread renaud
Hello all, I know that execution order is not guaranteed within a scope without explicitly declaring dependencies. However I've always been able to set variables in classes, and expect them to be used properly in templates that I declare in a File statement in the same class. It looks like I

[Puppet Users] Re: Weird variable dependency issue + different behavior between master/masterless

2012-09-05 Thread renaud
Thanks John, The Puppet templating docs recommend referring to DSL variables via Ruby > class variables, so as @master_host and @master_port in your case. > Referring to them via local variables (as your template does) will often > work, but it can fail in interesting ways if your variables ha

[Puppet Users] Re: Weird variable dependency issue + different behavior between master/masterless

2012-09-05 Thread renaud
I should add that I've added a 'notice' statement for debugging, which again shows the correct things when the manifest is applied manually, but doesn't seem to be executed (at all) when run through the puppetmaster On Wednesday, September 5, 2012 3:19:07 PM UTC+1, rena

[Puppet Users] Re: Weird variable dependency issue + different behavior between master/masterless

2012-09-05 Thread renaud
m puppetmaster. On Wednesday, September 5, 2012 3:24:10 PM UTC+1, renaud wrote: > > I should add that I've added a 'notice' statement for debugging, which > again shows the correct things when the manifest is applied manually, but > doesn't seem to be executed (at a

Re: [Puppet Users] Re: Weird variable dependency issue + different behavior between master/masterless

2012-09-05 Thread renaud
That was the problem indeed. The agent was 2.7.19 and the master 2.7.14. Thanks ! On Wednesday, September 5, 2012 4:38:58 PM UTC+1, R.I. Pienaar wrote: > > > > - Original Message - > > From: "renaud" > > > To: puppet...@googlegroups.com > >