Skip to content

Puppet 8 support

Puppet 8 support #3

Triggered via pull request September 24, 2024 12:40
@alvagantealvagante
synchronize #163
works
Status Success
Total duration 1m 0s
Artifacts

pr.yml

on: pull_request
Syntax validation
26s
Syntax validation
Unit tests
37s
Unit tests
Unit tests Legacy Puppet
49s
Unit tests Legacy Puppet
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Unit tests: spec/classes/puppi_spec.rb#L10
puppi Test standard installation is expected to contain File[puppi] with ensure => "present" Failure/Error: it { should contain_file('puppi').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L11
puppi Test standard installation is expected to contain File[puppi.conf] with ensure => "present" Failure/Error: it { should contain_file('puppi.conf').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L12
puppi Test standard installation is expected to contain File[puppi.scripts] with ensure => "present" Failure/Error: it { should contain_file('puppi.scripts').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L13
puppi Test standard installation is expected to contain File[puppi_basedir] with ensure => "directory" Failure/Error: it { should contain_file('puppi_basedir').with_ensure('directory') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L14
puppi Test standard installation is expected to contain File[puppi_datadir] with ensure => "directory" Failure/Error: it { should contain_file('puppi_datadir').with_ensure('directory') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/defines/puppi_check_spec.rb#L18
puppi::check Test puppi check step file creation should create a puppi::check step file Failure/Error: should contain_file('Puppi_check_myapp_50_get').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Check[puppi::check]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_check_spec.rb#L21
puppi::check Test puppi check step file creation should populate correctly the puppi::check step file Failure/Error: should contain_file('Puppi_check_myapp_50_get').with_content(/\/usr\/lib64\/nagios\/plugins\/echo/) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Check[puppi::check]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_deploy_spec.rb#L17
puppi::deploy Test puppi deploy step file creation should create a puppi::deploy step file Failure/Error: should contain_file('/etc/puppi/projects/myapp/deploy/50-get').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Deploy[puppi::deploy]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_deploy_spec.rb#L20
puppi::deploy Test puppi deploy step file creation should populate correctly the puppi::deploy step file Failure/Error: should contain_file('/etc/puppi/projects/myapp/deploy/50-get').with_content("su - root -c \"export project=myapp && /etc/puppi/scripts/echo \"\n") Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Deploy[puppi::deploy]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_helper_spec.rb#L12
puppi::helper Test puppi helper file creation should create a puppi helper file Failure/Error: should contain_file('puppi_helper_spec').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) (line: 2) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L10
puppi Test standard installation is expected to contain File[puppi] with ensure => "present" Failure/Error: it { should contain_file('puppi').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L11
puppi Test standard installation is expected to contain File[puppi.conf] with ensure => "present" Failure/Error: it { should contain_file('puppi.conf').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L12
puppi Test standard installation is expected to contain File[puppi.scripts] with ensure => "present" Failure/Error: it { should contain_file('puppi.scripts').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L13
puppi Test standard installation is expected to contain File[puppi_basedir] with ensure => "directory" Failure/Error: it { should contain_file('puppi_basedir').with_ensure('directory') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/classes/puppi_spec.rb#L14
puppi Test standard installation is expected to contain File[puppi_datadir] with ensure => "directory" Failure/Error: it { should contain_file('puppi_datadir').with_ensure('directory') } Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) on node rspec.example42.com
Unit tests: spec/defines/puppi_check_spec.rb#L18
puppi::check Test puppi check step file creation should create a puppi::check step file Failure/Error: should contain_file('Puppi_check_myapp_50_get').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Check[puppi::check]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_check_spec.rb#L21
puppi::check Test puppi check step file creation should populate correctly the puppi::check step file Failure/Error: should contain_file('Puppi_check_myapp_50_get').with_content(/\/usr\/lib64\/nagios\/plugins\/echo/) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Check[puppi::check]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_deploy_spec.rb#L17
puppi::deploy Test puppi deploy step file creation should create a puppi::deploy step file Failure/Error: should contain_file('/etc/puppi/projects/myapp/deploy/50-get').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Deploy[puppi::deploy]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_deploy_spec.rb#L20
puppi::deploy Test puppi deploy step file creation should populate correctly the puppi::deploy step file Failure/Error: should contain_file('/etc/puppi/projects/myapp/deploy/50-get').with_content("su - root -c \"export project=myapp && /etc/puppi/scripts/echo \"\n") Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Puppi::Deploy[puppi::deploy]: parameter 'enable' expects a Boolean value, got String (line: 2) on node rspec.example42.com
Unit tests: spec/defines/puppi_helper_spec.rb#L12
puppi::helper Test puppi helper file creation should create a puppi helper file Failure/Error: should contain_file('puppi_helper_spec').with_ensure('present') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /__w/puppi/puppi/spec/fixtures/modules/puppi/manifests/params.pp, line: 36, column: 22) (line: 2) on node rspec.example42.com
Unit tests Legacy Puppet
Process completed with exit code 1.