(#168) Handling a missing /etc/localtime file instead of breaking #62
pr_tests.yml
on: pull_request
Puppet Syntax
30s
Puppet Style
31s
Ruby Style (experimental)
0s
File checks
39s
RELENG checks
37s
Matrix: Puppet Spec
Annotations
4 errors
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false):
spec/classes/server_spec.rb#L20
ssh::server supported operating systems on almalinux-8-x86_64 with default parameters behaves like an ssh server is expected to contain File[/var/empty/sshd/etc/localtime] with source => "file:///etc/localtime" and require => "Package[openssh-server]"
Failure/Error:
it { is_expected.to create_file('/var/empty/sshd/etc/localtime').with({
:source => 'file:///etc/localtime',
:require => 'Package[openssh-server]'
})
}
expected that the catalogue would contain File[/var/empty/sshd/etc/localtime] with source set to "file:///etc/localtime" but it is set to "file://"
Shared Example Group: "an ssh server" called from ./spec/classes/server_spec.rb:74
|
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false)
Process completed with exit code 1.
|
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true):
spec/classes/server_spec.rb#L20
ssh::server supported operating systems on almalinux-8-x86_64 with default parameters behaves like an ssh server is expected to contain File[/var/empty/sshd/etc/localtime] with source => "file:///etc/localtime" and require => "Package[openssh-server]"
Failure/Error:
it { is_expected.to create_file('/var/empty/sshd/etc/localtime').with({
:source => 'file:///etc/localtime',
:require => 'Package[openssh-server]'
})
}
expected that the catalogue would contain File[/var/empty/sshd/etc/localtime] with source set to "file:///etc/localtime" but it is set to "file://"
Shared Example Group: "an ssh server" called from ./spec/classes/server_spec.rb:74
|
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true)
Process completed with exit code 1.
|