Skip to content

Commit

Permalink
replace deprecate install_module_on function
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Mar 22, 2024
1 parent 72e7cd8 commit b308295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/lookup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

require 'beaker-rspec'
require 'beaker-rspec/spec_helper'
require 'voxpupuli/acceptance/spec_helper_acceptance'

describe 'lookup with vault configured to accept certs from puppetserver' do
before(:all) do
# Since beaker has not run the PrebuiltSteps to add /opt/puppetlabs/* to the
# PATH, add the directories to the top of the /etc/bash.bashrc so the dirs
# are available for all non-interactive bash shells.
on(master, "sed -i '1s_^_PATH=/opt/puppetlabs/server/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:$PATH\\n_' /etc/bash.bashrc")
install_module_on(master)
install_local_module_on(master)
vault = find_host_with_role('vault')
scp_to(vault, 'spec/acceptance/fixtures/unseal.sh', '/root/unseal.sh')
on(vault, 'su root /root/unseal.sh')
Expand Down

0 comments on commit b308295

Please sign in to comment.