From 1ad12332ac526596d2ad5fe6f49cc1ca16f71d0e Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 11 Jan 2022 12:02:59 +0100 Subject: [PATCH] force hammer cache reload when enabling puppet --- bats/fb-test-puppet.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bats/fb-test-puppet.bats b/bats/fb-test-puppet.bats index 2f32e7a78..45ddb5f10 100755 --- a/bats/fb-test-puppet.bats +++ b/bats/fb-test-puppet.bats @@ -16,6 +16,8 @@ fi skip "Enabling Puppet explicitly is only needed with Katello 4.3+" fi foreman-installer --enable-foreman-plugin-puppet --enable-foreman-cli-puppet --foreman-proxy-puppet true --foreman-proxy-puppetca true --foreman-proxy-content-puppet true --enable-puppet --puppet-server true --puppet-server-foreman-ssl-ca /etc/pki/katello/puppet/puppet_client_ca.crt --puppet-server-foreman-ssl-cert /etc/pki/katello/puppet/puppet_client.crt --puppet-server-foreman-ssl-key /etc/pki/katello/puppet/puppet_client.key + # Force hammer to reload the apidoc cache - https://projects.theforeman.org/issues/28283 + hammer --reload-cache ping } @test "check smart proxy is registered" {