On Mon, Dec 22, 2008 at 4:52 PM, Nigel Kersten <nig...@google.com> wrote:
> > > On Mon, Dec 22, 2008 at 3:47 PM, Tim Harper <timchar...@gmail.com> wrote: > >> >> I want to run puppet in the cloud. The trouble is, the fqdn fact is >> quite random and looks something like "domU-12-32-19-01-B8-D1". >> >> I'm OK with deploying the cert pair and configuring puppetd to use the >> same cert on every box. However, I need to be able to select which >> node configuration in the puppet master to use on the client side, >> without changing the hostname (or adding a new node every time we >> bring up a new server). >> >> Is this possible? Do I have to over-ride the fqdn fact some how on the >> client? >> >> Thanks :) > > > If I understand what you're asking, I think you want to instead override > the certname property on the clients. > > The certs don't have to use hostnames for their name. They can be > completely arbitrary. > That's half of the battle. The other half is getting the puppet master to select the appropriate node configuration. I'd like to create the following nodes: general |- www-server |- db-server |- sb-server |- memcache-server When I boot up a fresh image, I'd like it to apply the "general" configuration. Then, I'm going to save the image for future use. Later, I'm when I boot up one of the more specialized machines (like www-server), I'd like it to restore the general configuration, switch mode to "www-server", and apply the configuration. (the need for this approach has been created by us deploying to a cloud and a static environment during a transitory phase) --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---