Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/integration/apply_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
require 'bolt_spec/run'

TEST_VERSIONS = [
[8, 'puppet8']
[8, 'openvox8']
].freeze

describe 'apply', apply: true do
Expand All @@ -34,7 +34,7 @@

# The following are run with both *nix and Windows targets.
shared_examples 'agentful tests' do |targets|
it 'runs a ruby task' do

Check failure on line 37 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.2)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs a ruby task Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 37 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.3)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs a ruby task Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 37 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.4)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs a ruby task Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446
results = run_cli_json(%W[task run basic::ruby_task -t #{targets}], project: project)

results['items'].each do |result|
Expand All @@ -43,7 +43,7 @@
end
end

it 'runs an apply plan' do

Check failure on line 46 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.2)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs an apply plan Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 46 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.3)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs an apply plan Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 46 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.4)

apply over winrm on Windows with Puppet Agents with puppet8 installed runs an apply plan Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446
results = run_cli_json(%W[plan run basic::notify -t #{targets}], project: project)

results.each do |result|
Expand All @@ -52,7 +52,7 @@
end
end

it 'succeeds with an empty hiera config' do

Check failure on line 55 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.2)

apply over winrm on Windows with Puppet Agents with puppet8 installed succeeds with an empty hiera config Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 55 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.3)

apply over winrm on Windows with Puppet Agents with puppet8 installed succeeds with an empty hiera config Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 55 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.4)

apply over winrm on Windows with Puppet Agents with puppet8 installed succeeds with an empty hiera config Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446
results = run_cli_json(%W[plan run prep -t #{targets}], project: project)

results.each do |result|
Expand All @@ -61,7 +61,7 @@
end
end

it 'warns about exported resources with an ID' do

Check failure on line 64 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.2)

apply over winrm on Windows with Puppet Agents with puppet8 installed warns about exported resources with an ID Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 64 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.3)

apply over winrm on Windows with Puppet Agents with puppet8 installed warns about exported resources with an ID Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446

Check failure on line 64 in spec/integration/apply_spec.rb

View workflow job for this annotation

GitHub Actions / bolt apply (windows-2025, 3.4)

apply over winrm on Windows with Puppet Agents with puppet8 installed warns about exported resources with an ID Failure/Error: compiler.call_function('run_task', task_name, targets, description, params) Bolt::PAL::PALError: Task puppet_agent::install: parameter 'collection' expects an undef value or a match for Enum['puppet', 'puppet-nightly', 'puppet7', 'puppet7-nightly', 'puppet8', 'puppet8-nightly'], got 'openvox8' Shared Example Group: "agentful tests" called from ./spec/integration/apply_spec.rb:446
allow(Bolt::Logger).to receive(:warn)
expect(Bolt::Logger).to receive(:warn).with('exported_resources', /the export is ignored/).at_least(:once)
expect(Bolt::Logger).to receive(:warn).with('exported_resources',
Expand Down
Loading