From 6ec7d2c6d4652a82466c43825ea37ea94ddff44a Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 14 Apr 2015 09:32:42 +0200 Subject: [PATCH] Set puppet service enabled on boot and remove puppet agent --test I noticed that running puppet agent --test on puppetmaster during bootstrap failures pop up about getting puppet related locks, probably a race condition. Better run puppet agent on puppetmaster at the end of plays. --- roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml b/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml index 18d2cfa..30edb94 100644 --- a/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml +++ b/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml @@ -14,6 +14,4 @@ puppetdb => false }' tags: puppet_apply -- service: name=puppet state=started - -- command: puppet agent --test +- service: name=puppet enabled=yes state=started