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

2010-01-28 Thread Ohad Levy
I just created a simple manifest using puppet, might work for you. notice $servername 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.ma

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

2010-01-28 Thread Tony G.
Have you tried with --server ? I have a Test Puppetmaster where I change configs and for testing I can run on a client the new configuration with puppeetd --test --server mytestserver.example.com ... Hope that helps. On Thu, Jan 28, 2010 at 1:23 PM, steve.majew...@gmail.com < steve.majew...@gma

[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