As Dave Nash mentioned, by default, Puppet tries to contact a host
called "puppet" to receive it's configuration. It doesn't
*necessarily* use DNS; a hosts file entry will work, as will other
methods.

You can configure the option on the command line with the --server
option, or you can use /etc/puppet/puppet.conf.

--Paul

On Mon, Sep 29, 2008 at 1:57 PM, dd-b <[EMAIL PROTECTED]> wrote:
>
>
> Puppet is kicking my ass.  Maybe I'm having a stupid day.
>
> Anyway -- currently working through the "Simplest Puppet Install
> Recipe" at
> <http://reductivelabs.com/trac/puppet/wiki/
> SimplestPuppetInstallRecipe>.
>
> Both client and server systems are Centos.  Puppet[master] installed
> from RPMs, client has puppet-0.22.4-1.el5.rf (on Centos 5.2), server
> has puppet-server-0.22.4-1.el4.rf (on Centos 4.6).
>
> Putting in the simple sudo.pp class, and the site.pp as given, and
> starting the server (via the Redhat init script) went fine.
>
> Now, I start puppetd --verbose on the client.  I'm supposed to see a
> message about not receiving a certificate.  I don't get one; I get:
>
> err: Could not find server puppet: getaddrinfo: Name or service not
> known
> err: Could not request certificate: Certificate retrieval failed:
> Could not
> find server puppet
>
> And I notice at this point that I wasn't directed to configure the
> server name (or IP) anywhere.  So I look at puppetd --help, and look
> at the online docs, and can't find any hint about how you configure
> where the server is.
>
> So what's up with that?
>
> It's probably relevant to mention that the client is behind NAT on a
> private LAN (it's part of a cluster behind LVS in NAT mode).  The
> client system can connect out to other services on the same host as
> the puppet server, but if it's depending on picking up server
> broadcasts or anything, that's not going to fly.
>
> (Posted via email over an hour ago, an nothing has shown up either in
> email or in groups, so I'm posting this via the web; sorry if it ends
> up being a duplicate!)
>
> --
> David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
> Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
> Photos: http://dd-b.net/photography/gallery/
> Dragaera: http://dragaera.info
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to