From 0037a8d5543e227de9fd743a5dd0bc4d4be824f8 Mon Sep 17 00:00:00 2001 From: Michael Hashizume Date: Fri, 2 Feb 2024 09:44:43 -0800 Subject: [PATCH] Remove passenger method This commit removes a conditional dependent on Passenger support, which was dropped in Puppet 6. --- .../directory_environment_production_created_master.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/acceptance/tests/environment/directory_environment_production_created_master.rb b/acceptance/tests/environment/directory_environment_production_created_master.rb index efa61472c90..b0fd60e3c1b 100644 --- a/acceptance/tests/environment/directory_environment_production_created_master.rb +++ b/acceptance/tests/environment/directory_environment_production_created_master.rb @@ -8,9 +8,6 @@ step 'make environmentpath' master_user = puppet_config(master, 'user', section: 'master') -cert_path = puppet_config(master, 'hostcert', section: 'master') -key_path = puppet_config(master, 'hostprivkey', section: 'master') -cacert_path = puppet_config(master, 'localcacert', section: 'master') apply_manifest_on(master, <<-MANIFEST, :catch_failures => true) File { ensure => directory, @@ -33,9 +30,6 @@ step 'run master; ensure production environment created' with_puppet_running_on(master, master_opts, testdir) do - if master.is_using_passenger? - on(master, "curl -k --cert #{cert_path} --key #{key_path} --cacert #{cacert_path} https://localhost:8140/puppet/v3/environments") - end on(master, "test -d '#{testdir}/environments/production'") step 'ensure catalog returned from production env with no changes'