Skip to content

Commit

Permalink
(maint) pass full inventory path to task
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Apr 24, 2024
1 parent 144ba65 commit 9ab410f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet_litmus/rake_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def provision(provisioner, platform, inventory_vars)
raise "the provision module was not found in #{DEFAULT_CONFIG_DATA['modulepath']}, please amend the .fixtures.yml file" unless
File.directory?(File.join(DEFAULT_CONFIG_DATA['modulepath'], 'provision'))

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

task_name = provisioner_task(provisioner)
Expand Down

0 comments on commit 9ab410f

Please sign in to comment.