Skip to content

stop forcing root ownership of vardir #1292

stop forcing root ownership of vardir

stop forcing root ownership of vardir #1292

Triggered via pull request January 3, 2025 13:48
Status Failure
Total duration 10m 46s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
36s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
2s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 26 warnings
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on almalinux-8-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on almalinux-9-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on centos-7-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on centos-8-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on centos-9-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on debian-11-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on debian-12-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on fedora-36-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on freebsd-11-amd64 with git repo is expected to contain File[/var/puppet] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/var/puppet] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on freebsd-12-amd64 with git repo is expected to contain File[/var/puppet] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/var/puppet] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on freebsd-12-amd64 with git repo is expected to contain File[/var/puppet] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/var/puppet] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on almalinux-8-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-22.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on centos-9-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on redhat-7-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on debian-11-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on rocky-9-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on fedora-36-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-20.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on oraclelinux-9-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Fedora 36
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 11
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 12
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-7-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on debian-11-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on debian-12-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on fedora-36-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-11-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-12-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-12-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on ubuntu-22.04-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on centos-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on redhat-7-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on debian-11-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on rocky-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on fedora-36-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on ubuntu-20.04-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on oraclelinux-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]