[Puppet Users] could not find class

2011-03-14 Thread Brandon Metcalf
I'm using the module https://github.com/sansnoc/puppet/tree/master/users but running into a problem where puppet can't find a class. In /etc/ puppet/manifests/nodes.pp I have node basenode { include hosts include groups::namidev include users::people include users::namidev } node 'uti

Re: [Puppet Users] could not find class

2011-03-15 Thread Brandon Metcalf
Thanks. This is what I thought and I tried moving that class to a module named groups to no avail. I'll revisit to see what I did wrong. On Mar 15, 2011, at 4:48, Martijn Grendelman wrote: > On 14-03-11 22:31, Brandon Metcalf wrote: >> I'm using the module https://github

[Puppet Users] config print seems to be broken

2013-09-22 Thread Brandon Metcalf
Am I missing something or is this behavior broken: $ puppet -V 3.2.3 $ grep environment /etc/puppet/puppet.conf environment = bmetcalf $ puppet config print environment production Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Re: config print seems to be broken

2013-09-23 Thread Brandon Metcalf
uppet.conf file. > > Read following documentation of puppet on environment, > http://docs.puppetlabs.com/guides/environment.html > > Thanks and Regards, > Rahul Khengare, > NTT DATA OSS Center, Pune, India. > > > On Saturday, September 21, 2013 2:44:41 AM UTC+5:30, Br

[Puppet Users] inline template variable access

2014-09-05 Thread Brandon Metcalf
Using puppet 3.4.3 and getting the following warning: Variable access via 'java_home_var' is deprecated. Use '@java_home_var' instead. template[inline]:1 from the following line: $java_home = inline_template('<%= scope[@java_home_var] %>') Any

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Brandon Metcalf
On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: > > On 09/06/2014 11:09 PM, Spencer Krum wrote: > > > > $java_home = $java_home_var > > > > Barring that, this is the correct way to use a template: > > > > $java_home = inline_template('<%= @java_home_var %>') > > Well, yes,

Re: [Puppet Users] inline template variable access

2014-09-11 Thread Brandon Metcalf
On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg wrote: > > On 2014-11-09 16:04, Brandon Metcalf wrote: > > > > On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote: > > > > On 09/06/2014 11:09 PM, Spencer Krum wrote: >

Re: [Puppet Users] inline template variable access

2014-09-12 Thread Brandon Metcalf
On Thursday, September 11, 2014 6:15:16 PM UTC-5, Henrik Lindberg wrote: > > On 2014-12-09 1:06, Henrik Lindberg wrote: > > On 2014-11-09 22:57, Brandon Metcalf wrote: > >> > >> > >> On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg &g

[Puppet Users] set fact based on top scope variable

2015-04-17 Thread Brandon Metcalf
Is it possible to reference a top scope variable passed in from an ENC and set a fact based on that? That is, parameters: var: value I know it's the other way around that top scope variables are set from facts, but just trying to figure out the best way to do this other that writing out a scri