Agreed with Atom... I generally think that this method is backwards. The system shouldn't tell Puppet what it wants to be; Puppet (possibly fed by some external data source(s)) should tell the system what to be. Sure, in some very large environments with a small number of possible configurations, the other way around will work. But why do something like tie your entire CM system to a hostname convention?
-Jason On Wed, Aug 27, 2014 at 1:35 AM, Atom Powers <atom.pow...@gmail.com> wrote: > DHCP + CMDB + ENC will get you there. (Foreman is an easy CMDB for Puppet.) > > DHCP answers "Where am I?" and "Who am I?" > CMDB + ENC answers "What am I supposed to do?" > > > On Tue, Aug 26, 2014 at 12:41 PM, Alex Demitri <alex.demit...@gmail.com> > wrote: > >> Hi guys - i am fairly new to puppet and i am trying to figure out ways to >> implement it in my organization to make good use of it. One thing we >> thought would be useful to better our deployment process, is to add a >> mechanism that would have a vanilla server getting installed on a VM, boot >> up, check into puppet and figure out these three questions: >> >> 1) Where am I? >> - in what Datacenter/Availability zone am I? Based on that, what >> syslog servers do i have to use, NTP servers, etc.. >> 2) Who am I? >> - what server am i? What files do i need for basic functions? >> 3) What am I supposed to do? >> - based on what server I am, what am i supposed to do? do i have to >> run Tomcat? Apache? And if yes, where are my configuration files? >> >> In short, find a holistic way for a system to come up to speed by itself. >> I already thought of using meaningful hostnames for the roles of the >> servers but that does not work well in the cloud... >> >> Thoughts? >> >> Thanks! >> Alex >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/16a1cb0c-ab6d-4578-a221-482a86d05130%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/16a1cb0c-ab6d-4578-a221-482a86d05130%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Perfection is just a word I use occasionally with mustard. > --Atom Powers-- > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAF-H%3DOm_0G3-VWnnjK5F6VD-rwQd8mtfQbnnkR_VKb0uYrmssQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAF-H%3DOm_0G3-VWnnjK5F6VD-rwQd8mtfQbnnkR_VKb0uYrmssQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFt4V4nerNymn486%3DvS1g%3DDBJjPjR5YWBvZfnSSpqbzxTkO7OA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.