Hi guys I have a small question, I have 3 environments in puppet.conf file: [development] modulepath=/etc/puppet/development/modules manifests=/etc/puppet/development/manifests/site.pp I have defined the site.pp path, my question is do I need to make a nodes.pp for every environment?????? Thanks -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, On 13/07/11 2:03 PM, newguy wrote:> Hi guys > I have a small question, I have 3 environments in puppet.conf file: > > [development] > modulepath=/etc/puppet/development/modules > manifests=/etc/puppet/development/manifests/site.pp > > I have defined the site.pp path, my question is do I need to make a > nodes.pp for every environment??????yes, if you''re not using an ENC. I''m not using an ENC yet, so I keep all my node defs in nodes.pp (included by site.pp) But I only edit the nodes.pp in dev, and then promote it as required. That''s ok for me, but it''s not so good for the rest of the team so an ENC is going in very soon (probably Foreman) Cheers -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
SO if I understand you correctly, if am not using ENC I should have a nodes.pp for each environment? On Jul 12, 10:19 pm, Michael Knox <michael.knox...@gmail.com> wrote:> Hi, > > On 13/07/11 2:03 PM, newguy wrote:> Hi guys > > I have a small question, I have 3 environments in puppet.conf file: > > > [development] > > modulepath=/etc/puppet/development/modules > > manifests=/etc/puppet/development/manifests/site.pp > > > I have defined the site.pp path, my question is do I need to make a > > nodes.pp for every environment?????? > > yes, if you''re not using an ENC. > I''m not using an ENC yet, so I keep all my node defs in nodes.pp > (included by site.pp) > But I only edit the nodes.pp in dev, and then promote it as required. > > That''s ok for me, but it''s not so good for the rest of the team so an > ENC is going in very soon (probably Foreman) > > Cheers-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Reasonably Related Threads
- trouble w/ Foreman as ENC, agents and environments
- Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
- Foreman / External Nodes -- Node Not found
- puppet-foreman
- puppet and environments ... need help