Ansible role for running puppet
Go to file
Monty Taylor eb5c691571 Add ability to run puppet with passed-in data
When we run puppet on the node, we may want to pass in parameters. There
are two different mechanisms that can be used for this, facter and
hiera. Allow users to pass in dictionaries of data containing key/value
pairs to either set ephemerally via facter environment variables, or
permanently by creating hiera files on disk so that subsequent runs will
keep those values.

Change-Id: Id99c3c2c20764ed4ba4259bd53f8067289374403
2015-03-11 11:13:01 -04:00
defaults Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
handlers Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
library Add ability to run puppet with passed-in data 2015-03-11 11:13:01 -04:00
meta Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
tasks Add ability to run puppet with passed-in data 2015-03-11 11:13:01 -04:00
tests Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
vars Add all of the files needed to make this a role 2015-02-22 22:59:39 -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
run_tests.sh Add all of the files needed to make this a role 2015-02-22 22:59:39 -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.