Skip to content

Commit

Permalink
Remove passenger method
Browse files Browse the repository at this point in the history
This commit removes a conditional dependent on Passenger support, which
was dropped in Puppet 6.
  • Loading branch information
mhashizume committed Feb 6, 2024
1 parent 9f5f8e5 commit 0037a8d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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'
Expand Down

0 comments on commit 0037a8d

Please sign in to comment.