Skip to content

Commit 5463378

Browse files
authored
Merge pull request #1024 from pmcmaw/task_path
Update modules to modulepath
2 parents 5834b96 + 3539b6a commit 5463378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run_task(task_name:, params: nil, password: DEFAULT_PASSWORD)
4343
end
4444

4545
def run_bolt_task(task_name:, params: nil, password: DEFAULT_PASSWORD)
46-
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
46+
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
4747
end
4848

4949
def run_puppet_task(task_name:, params: nil)

0 commit comments

Comments
 (0)