From d666d6c0e68d714a66d0297d01100a5a139bb988 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 23 Jun 2016 10:57:24 -0500 Subject: [PATCH] Update README with info about puppet apply The README currently says you have to pass puppetmaster, but this is untrue for puppet apply installs. Add an example playbook to run puppet without a puppet master. Change-Id: I6dfb5b97cbca42b83f790310b12a3d49f7dae8a0 --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 63a84f3..b24c070 100644 --- a/README.md +++ b/README.md @@ -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 -------