From da01c35df0fa87d678ac7c7f08d104b2b5641cf2 Mon Sep 17 00:00:00 2001 From: Nick Burgan-Illig Date: Wed, 20 Mar 2024 23:36:27 +0000 Subject: [PATCH] (maint) Stop puppet service during tests --- CHANGELOG.mkd | 1 + integration/pre-suite/00_pe_install.rb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.mkd b/CHANGELOG.mkd index ee376276d..4ed3f0eed 100644 --- a/CHANGELOG.mkd +++ b/CHANGELOG.mkd @@ -4,6 +4,7 @@ CHANGELOG Unreleased ---------- - (maint) Update beaker-pe to 3 [#1376](https://github.com/puppetlabs/r10k/pull/1376) +- (maint) Stop puppet service during tests [#1377](https://github.com/puppetlabs/r10k/pull/1377) 4.0.1 ----- diff --git a/integration/pre-suite/00_pe_install.rb b/integration/pre-suite/00_pe_install.rb index e2ff86df4..bf49ec7d7 100755 --- a/integration/pre-suite/00_pe_install.rb +++ b/integration/pre-suite/00_pe_install.rb @@ -4,3 +4,6 @@ step 'Install PE' install_pe + +step 'Stop puppet service to avoid running into existing agent runs' +on(hosts, puppet('resource service puppet ensure=stopped'))