[Puppet Users] Re: $servername when running standalone puppet

2010-01-29 Thread steve.majew...@gmail.com
Thanks! That was what I was looking for. -- Steve M. On Jan 29, 11:21 am, "R.I.Pienaar" wrote: > hello, > > - "steve majewski" wrote: > > > It would still be handy if there was a way to pass values from the > > commandline. > > export FACTER_foo=bar > > you now have $foo in your manifests.

[Puppet Users] Re: $servername when running standalone puppet

2010-01-29 Thread steve.majew...@gmail.com
t; if $servername == "" { >   $servername = "puppet" > > } > > notice $servername > > output: > notice: Scope(Class[main]): > notice: Scope(Class[main]): puppet > > On Fri, Jan 29, 2010 at 3:23 AM, steve.majew...@gmail.com < > > > > steve.maj

[Puppet Users] Re: $servername when running standalone puppet

2010-01-28 Thread steve.majew...@gmail.com
On Jan 28, 5:14 pm, "Tony G." wrote: > Have you tried with --server ? > Yes. Same error: info: Autoloaded module puppet debug: Scope(Class[puppet]): Retrieving template puppet/ puppet.conf.erb debug: template[/home/sdm7g/puppet/modules/puppet/templates/ puppet.conf.erb]: Bound template variab

[Puppet Users] $servername when running standalone puppet

2010-01-28 Thread steve.majew...@gmail.com
We have a client-server puppetmaster running puppetd and puppetmasterd, however I would like to test configurations locally before committing the changes on the puppetmaster. Running the puppet config locally with /usr/bin/puppet mostly works. The thing that fails ( which I have commented out on