Fixes #37761 - Allow rewrites needed for cockpit integration #1648
Annotations
10 errors
spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc2639648>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service]
Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc5643af0>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L21
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args contains dependencies
Failure/Error: is_expected.to contain_foreman__plugin('remote_execution')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc1b6bdd8>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L26
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Service[foreman-cockpit] with ensure => "running" and enable => "true"
Failure/Error: it { is_expected.to contain_service('foreman-cockpit').with_ensure('running').with_enable('true') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc8833010>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L28
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Foreman_config_entry[remote_execution_cockpit_url] that requires Class[foreman::database] and Foreman::Plugin[remote_execution-cockpit]
Failure/Error:
is_expected.to contain_foreman_config_entry('remote_execution_cockpit_url')
.that_requires(['Class[foreman::database]', 'Foreman::Plugin[remote_execution-cockpit]'])
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afb9252f38>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L33
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args creates configs
Failure/Error:
is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf')
.with_ensure('file')
.with_content([
'[WebService]',
'LoginTitle = Foreman Cockpit',
'UrlRoot = /webcon/',
'Origins = https://foreman.example.com',
'',
'[Bearer]',
'Action = remote-login-ssh',
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afca7a7388>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args configures apache
Failure/Error: is_expected.to contain_class('apache::mod::proxy_wstunnel')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afcd8df680>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L83
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 specifying origins creates configs
Failure/Error:
is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf')
.with_ensure('file')
.with_content([
'[WebService]',
'LoginTitle = Foreman Cockpit',
'UrlRoot = /webcon/',
'Origins = https://foreman.example.com https://myorigin.foreman.example.com',
'',
'[Bearer]',
'Action = remote-login-ssh',
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc78a6020>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afd034a1e0>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service]
Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb:
Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb
Line: 10
Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc857a1e8>
Did you mean? @cockpit_port
@cockpit_host
@cockpit_path
(file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
|
This job failed
Loading