This document discusses deployment orchestration using tools like Puppet, Ansible, and Jenkins. It describes setting up configuration management with Puppet, querying configuration data with PuppetDB, and using Ansible to automate and orchestrate deployments by running Puppet agent tests on nodes. The author provides an example workflow of using Jenkins for continuous integration and packaging, along with links to online material and code repositories for further details.
12. Introduction
Background
Configuration management
Orchestration
Questions
puppet
puppetdb
Query puppetdb
# Look up the nodes which have the given resource type and name declared
for NODE in $(curl --silent -G https://PUPPETDB_HOST:PUPPETDB_PORT/v4/
environments/ENVIRONMENT/resources/TYPE/RESOURCENAME | grep certname |
awk -F ’:’ ’{print $2 }’ | cut -d ’‘‘’ -f2)
do
nodes=(’’${nodes[@]}" $NODE)
done
Jan Collijs Deployment orchestration