[Puppet Users] Re: Solaris zone documentation

2009-01-28 Thread Matt McLeod
James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matt McLeod wrote: > > OK. So the docco is completely wrong: everything referenced in the > > template needs to be set as a variable prior to defining the zone. > > I'd assumed from context that the template was goi

[Puppet Users] Re: Solaris zone documentation

2009-01-28 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt McLeod wrote: > OK. So the docco is completely wrong: everything referenced in the > template needs to be set as a variable prior to defining the zone. > I'd assumed from context that the template was going to have the > previously-declared ob

[Puppet Users] Re: Solaris zone documentation

2009-01-28 Thread Matt McLeod
OK. So the docco is completely wrong: everything referenced in the template needs to be set as a variable prior to defining the zone. I'd assumed from context that the template was going to have the previously-declared object properties passed to it. I can live with that, I was going to abstrac

[Puppet Users] Re: Solaris zone documentation

2009-01-28 Thread Andrew Shafer
Matt, There is no realhostname variable in scope when the template is getting called. Variables in templates either need to be facts or set in the scope of Puppet they are being called from. Does that make sense? Andrew On Tue, Jan 27, 2009 at 5:22 PM, Matt McLeod wrote: > > I'm following t

[Puppet Users] Re: Solaris zone documentation

2009-01-28 Thread Rob Chanter
Hi Matt! On Wed, Jan 28, 2009 at 11:22 AM, Matt McLeod wrote: > network_interface=primary {hostname=<%= realhostname %> > > err: Could not retrieve catalog: Failed to parse template sysidcfg: Could not > find value for 'realhostname' at > /staging/puppet/production/manifests/nodes.pp:90 on nod