Ansible role for running puppet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Monty Taylor eafdbf9593 Add flag to control logging the rsyncs 4 weeks ago
defaults Add flag to control logging the rsyncs 4 weeks ago
handlers Add all of the files needed to make this a role 5 years ago
library Add color parameter 1 month ago
meta Fix ansible-lint 1 year ago
tasks Add flag to control logging the rsyncs 4 weeks ago
templates Fix hieradata path for puppet 4 1 year ago
tests Add all of the files needed to make this a role 5 years ago
vars Define defaults as defaults, not variables 4 years ago
.gitignore Add tox -eansible-lint support 4 years ago
.gitreview OpenDev Migration Patch 1 year ago
.zuul.yaml Switch to linters job 1 year ago
LICENSE Add all of the files needed to make this a role 5 years ago
README.md Update README with info about puppet apply 3 years ago
bindep.txt Add bindep.txt file 2 years ago
requirements.txt Add tox -eansible-lint support 4 years ago
run_tests.sh Add all of the files needed to make this a role 5 years ago
test-requirements.txt Add tox -eansible-lint support 4 years ago
tox.ini Fix ansible-lint 1 year ago

README.md

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

Either puppetmaster or manifest should be supplied. If you are using puppet agent, you want to supply puppetmaster. If you are using puppet apply, you want to supply manifest.

Dependencies

None

Example Playbook using a puppetmaster

The only required argument is puppetmaster:

- hosts: servers
  roles:
     - { role: puppet, puppetmaster: puppetmaster.openstack.org }

Example Playbook without a puppetmaster

The only required argument is manifest:

- hosts: servers
  roles:
     - { role: puppet, manifest: /opt/system-config/production/manifests/site.pp }

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.