Merge "Update README with info about puppet apply"

This commit is contained in:
Jenkins 2016-10-21 15:16:58 +00:00 committed by Gerrit Code Review
commit 3fe078c070
1 changed files with 17 additions and 4 deletions

View File

@ -12,21 +12,34 @@ used, the cert exchange needs to have been performed.
Role Variables
--------------
puppetmaster is the required parameter.
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
----------------
Example Playbook using a puppetmaster
-------------------------------------
The only required argument is puppetmaster:
- hosts: servers
roles:
- { role: infra.puppet, puppetmaster: puppetmaster.openstack.org }
- { 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
-------