On Friday, April 5, 2019 at 9:01:44 AM UTC-4, jcbollinger wrote: > > > > On Thursday, April 4, 2019 at 5:15:45 PM UTC-5, Deo Breathnu wrote: >> >> I am fairly new to puppet. I have a puppet master that is orchestrating >> the builds for three AWS autoscaling groups of Nginx reverse proxy >> servers. The three types are fairly similar except for some conf files. >> >> In the main site.pp file there is a line " case $::ec2_tag_role" . So it >> is obvious that it seems that the logic as the configuration differences is >> controlled here since the 3 tags are here below the case. There is no >> nodes.pp file. Has anyone seen this configuration before? >> > > As Martin observed, use of a nodes.pp file is only a *convention* (an old > one). That file name does not have inherent significance to Puppet. You > may be getting node definitions from some other file(s), instead. > > However, I suspect what you're really describing is that there aren't any > node blocks *at all*. That is indeed a supported configuration, and one > that is sometimes used. It is relatively common in conjunction with an > *external > node classifier <https://puppet.com/docs/puppet/6.4/nodes_external.html>*, > but it is sometimes used even without. Whether or not there are any node > blocks or any external node classification, all code that appears at top > scope in the site manifest applies to all nodes. > > So yes, although of course I haven't seen your exact configuration, I have > seen configurations like it, and others have, too. Did you have a more > specific question about it? > > > John > >
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/146120c3-8656-42ee-9869-c205794e1b50%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
