Model An Application Using Puppet or Chef
CloudCenter enables enterprises to integrate with Puppet and Chef, as a client agent that is installed on every application VM using CloudCenter, and automates the configuration management process. This automation helps enterprises by not requiring admins to manually configure the environment each time a new VM is launched by combining theService Lifecycle Actions to provide seamless end-to-end integration at deployment time.VM provisioning and the
Out-of-Box Service Additions
Puppet and Chef are available as OOB Services on the CloudCenter platform.
When modeling an application, drag and drop the Puppet and Chef services in the Topology Modeler and add app-specific parameters in the Properties > General Settings tab. See the following sections for service-specific details
Associate a Puppet Service
To associate a Puppet service with the application tier by following this process:
Select a Puppet primary server that is already registered as a repository (see share Artifact Repository for additional context).
Provide the required information to setup the Puppet Agent – the role and repository path.
Deploy the Puppet app – the service script leverages the function of Puppet Agent to configure the environment and deploy the application. Once deployed, the VM communicates with the selected Puppet primary server to retrieve data. The Puppet primary server compiles the manifests (see table above) into system-specific catalogs per the agent requests, and sends the catalogs to the agent to configure the environment.
Associate a Chef Service
To associate a Chef service with the application tier by following this process:
Select a Chef Server to communicate with the Chef Client.
Provide the required information to set up the Chef Server – the recipe (see table above) and environment name.
Deploy the Chef app – the service script invokes the Chef Client and registers itself to the selected Chef Server. After receiving the recipe, the client configures the environment.
Puppet Deployment Process
Set up a Puppet primary server, install and configure the Puppet primary server open source version, and host the Puppet modules (for example, Apache, MySQL, Tomcat). Refer to the Puppet website for detailed information.
Create Puppet profiles and roles and set up the configuration. Refer to the Puppet website for detailed information.
Specify the Certname pattern on the Puppet primary server to allow certified access from the Puppet Agent. Refer to the Puppet website for detailed information.
Hostname: The hostname of the Puppet primary server.
Certname Suffix: The suffix used by the CloudCenter Puppet service to generate the Certname for authentication to the Puppet primary server.
Create and Share an Artifact Repository for Puppet and include the metadata of the Puppet primary server.
Deploy an Application to invoke the Puppet Agent and set up the app.
Chef Deployment Process
Set up a Chef Server and host Chef cookbooks and recipes (for example, Apache or Tomcat). Refer to the Chef website for detailed information.
Create and Share an Artifact Repository for Chef and include the metadata of the Chef Server. You will need to download the validation key from the Chef Server Web page. If the Chef server is configured with SSL, specify those credentials in the Chef repository.
Chef User Key: The private key used to manage the Chef client.
Chef Validation key: Used to authenticate the Chef Client when it communicates with the Chef Server for the first time.
Trusted Certificate: The SSL certificate of the Chef Server used to authenticate the Chef Client to the Chef Server.
tier. Configure the Chef Server and recipe that will be used on the Chef Client.
Deploy an Application to invoke the Chef Client and set up the app.
- No labels