Chapter 5. Puppet Configuration and Deployment
After Puppet is installed, you can create a configuration file, or manifest, for Puppet's installation parameters for the host. This file defines one class (
openshift_origin
) that tells Puppet which OpenShift Enterprise components to install and configure on the host. If you are new to Puppet, you can learn more about how this works in the Puppet Labs® documentation [10].
Chapter 6, Example Puppet Configurations provides example Puppet configurations covering various deployment scenarios. For any of the examples, the indicated configuration can be written to a manifest file called
configure_ose.pp
on each given host. For a comprehensive list of the installation parameters for OpenShift Enterprise you can specify with Puppet manifests, see Chapter 8, Puppet Parameters.
Important
As mentioned in Chapter 3, Introduction to OpenShift Enterprise Puppet Deployments, ensure the
ose_version
parameter is set to 2.2
in each host's Puppet manifest to enable OpenShift Enterprise support with the module.
Deploying OpenShift Enterprise Using Puppet
After creating a Puppet manifest to your specifications for a given host, you can begin the deployment process by running the Puppet utility on the host and specifying the manifest file:
# puppet apply --verbose configure_ose.pp
This process may take up to an hour. After it is completed, see Chapter 7, Manual Post-Deployment Tasks for important information on how to finish the OpenShift Enterprise setup.