
We were copy pastaing code in the puppet cmd generation for noop and environment handling. Collapse that to make code easier to read and hopefully avoid future bugs where only one side is edited. Local testing shows that puppet parses commands like: puppet apply test.pp --noop just fine. Change-Id: Ie7665f72b9327b6b834d358699addf2c60a95ec0
puppet
Run puppet consistently from ansible.
Requirements
puppet needs to be installed on the target node, and if puppet agent is being used, the cert exchange needs to have been performed.
Role Variables
puppetmaster is the required parameter.
Dependencies
None
Example Playbook
The only required argument is puppetmaster:
- hosts: servers
roles:
- { role: infra.puppet, puppetmaster: puppetmaster.openstack.org }
License
Apache
Author Information
ansible-puppet is maintained by the OpenStack Infra team. The best way to contact them is on #openstack-infra on freenode.
Description
Languages
Python
84.6%
Jinja
11%
Shell
4.4%