Skip to content

Commit

Permalink
Merge pull request puppetlabs#1024 from pmcmaw/task_path
Browse files Browse the repository at this point in the history
Update modules to modulepath
  • Loading branch information
tphoney authored Nov 17, 2017
2 parents 5834b96 + 3539b6a commit 5463378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run_task(task_name:, params: nil, password: DEFAULT_PASSWORD)
end

def run_bolt_task(task_name:, params: nil, password: DEFAULT_PASSWORD)
on(master, "/opt/puppetlabs/puppet/bin/bolt task run #{task_name} --modules /etc/puppetlabs/code/modules/service --nodes localhost --password #{password} #{params}", acceptable_exit_codes: [0, 1]).stdout # rubocop:disable Metrics/LineLength
on(master, "/opt/puppetlabs/puppet/bin/bolt task run #{task_name} --modulepath /etc/puppetlabs/code/modules/service --nodes localhost --password #{password} #{params}", acceptable_exit_codes: [0, 1]).stdout # rubocop:disable Metrics/LineLength
end

def run_puppet_task(task_name:, params: nil)
Expand Down

0 comments on commit 5463378

Please sign in to comment.