Ansible role for running puppet
Go to file
Yolanda Robla 139ca911ab Safely fail when logs cannot be found
On first runs, this logfile is not going to be found. This
is causing ansible to crash and stop applying puppet in consecutive
nodes.

Add a condition to safely fail, and abort play if no files can
be found.

Change-Id: I22a5ebbcaa603b25920fd638211f3663e81e09b0
2016-02-26 01:59:49 +01:00
defaults Merge "Fix hiera paths when configuring puppet" 2016-02-25 22:28:19 +00:00
handlers Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
library Merge "The default for logdest needs to not be a list" 2016-02-24 19:37:51 +00:00
meta Update to use blocks from ansible 2.0 2016-01-14 15:39:24 -05:00
tasks Safely fail when logs cannot be found 2016-02-26 01:59:49 +01:00
templates Fix hiera paths when configuring puppet 2016-02-25 22:39:55 +01:00
tests Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
vars Define defaults as defaults, not variables 2016-01-18 19:41:56 -05:00
.gitignore Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
.gitreview Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
LICENSE Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
README.md Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
requirements.txt Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
run_tests.sh Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
test-requirements.txt Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
tox.ini Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00

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

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.