From 8511a4bc57c61609f3f80dc30a50fed27fe6311d Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Sat, 18 Apr 2015 22:46:33 +0200 Subject: [PATCH] Trigger puppet agent after puppetmaster bootstrap This is to apply config from site.pp, that is not fed on initial puppet apply bootstrap --- roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml b/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml index 30edb94..04d22af 100644 --- a/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml +++ b/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml @@ -15,3 +15,7 @@ tags: puppet_apply - service: name=puppet enabled=yes state=started + +# Trigger a puppet agent --test to apply config from repo +- command: puppet agent --test + ignore_errors: True