Creating a node group
Terry the tester
needs a test environment for testing the Puppet modules that we developed in the development
environment. A logical name for the test environment is test
. You may recall that in Chapter 6, Scaling Up the Puppet Environment, we created a node group called development
and associated it with the environment named development
. We'll repeat this process and create a test
node group, which we'll also associate with the development
environment.
Why would we associate a test
node group with the development
environment? Shouldn't the test
node group have its own environment called test
?
Yes, we can do that, but then we will have to modify the bootstrap::master
class, and add a file
resource to it that creates an /etc/puppetlabs/puppet/environments/test
directory for the new environment. This will give us a new environment with no Puppet modules in it.
As Terry's goal is to test the Puppet modules that we developed in the development
environment, the best option...