Require a version when installing from GitHub #141
Annotations
5 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.4.0/lib/voxpupuli/acceptance/examples.rb#L4
class caddy: when installing from repo behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082552253.3Yq02f.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Error while evaluating a Function Call, caddy::version can only be set when caddy::install_method is github (file: /etc/puppetlabs/code/environments/production/modules/caddy/manifests/install.pp, line: 14, column: 9) on node debian11-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:71
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.4.0/lib/voxpupuli/acceptance/examples.rb#L8
class caddy: when installing from repo behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082556502.XKCgBB.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Error: Evaluation Error: Error while evaluating a Function Call, caddy::version can only be set when caddy::install_method is github (file: /etc/puppetlabs/code/environments/production/modules/caddy/manifests/install.pp, line: 14, column: 9) on node debian11-64-puppet8.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:71
|
Run tests:
spec/acceptance/init_spec.rb#L83
class caddy: when installing from repo Command "caddy version" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 127
(compared using ==)
|
Run tests:
spec/acceptance/init_spec.rb#L84
class caddy: when installing from repo Command "caddy version" stdout is expected to start with "v2.8.3"
Failure/Error: its(:stdout) { is_expected.to start_with "v#{use_version}" }
expected "" to start with "v2.8.3"
|
Run tests
Process completed with exit code 1.
|
Loading