Skip to content

Commit db3efb3

Browse files
committed
(maint) pass full inventory path to task
1 parent 6445dd8 commit db3efb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet_litmus/rake_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def provision(provisioner, platform, inventory_vars)
6868
raise "the provision module was not found in #{DEFAULT_CONFIG_DATA['modulepath']}, please amend the .fixtures.yml file" unless
6969
File.directory?(File.join(DEFAULT_CONFIG_DATA['modulepath'], 'provision'))
7070

71-
params = { 'action' => 'provision', 'platform' => platform, 'inventory' => Dir.pwd }
71+
params = { 'action' => 'provision', 'platform' => platform, 'inventory' => File.join(Dir.pwd, 'spec', 'fixtures', 'litmus_inventory.yaml') }
7272
params['vars'] = inventory_vars unless inventory_vars.nil?
7373

7474
task_name = provisioner_task(provisioner)

0 commit comments

Comments
 (0)