Add loginctl_linger_users fact #488
ci.yml
on: pull_request
Puppet
/
Static validations
17s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
6 errors
Puppet / 8 (Ruby 3.2):
spec/unit/facter/loginctl_linger_users_spec.rb#L17
["runner", "root"] loginctl_linger_users returns root when nothing is present
Failure/Error: expect(Facter.value(:loginctl_linger_users)).to eq(['root'])
#<Dir (class)> received :exist? with unexpected arguments
expected: ("/var/lib/systemd/linger")
got: ("/home/runner/.puppetlabs/opt/facter/facts.d")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 8 (Ruby 3.2):
spec/unit/facter/loginctl_linger_users_spec.rb#L29
["runner", "root"] loginctl_linger_users returns list with root others are present
Failure/Error: expect(Facter.value(:loginctl_linger_users)).to eq(%w[abc test root])
#<Dir (class)> received :exist? with unexpected arguments
expected: ("/var/lib/systemd/linger")
got: ("/home/runner/.puppetlabs/opt/facter/facts.d")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/unit/facter/loginctl_linger_users_spec.rb#L17
["runner", "root"] loginctl_linger_users returns root when nothing is present
Failure/Error: expect(Facter.value(:loginctl_linger_users)).to eq(['root'])
#<Dir (class)> received :exist? with unexpected arguments
expected: ("/var/lib/systemd/linger")
got: ("/home/runner/.puppetlabs/opt/facter/facts.d")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 7 (Ruby 2.7):
spec/unit/facter/loginctl_linger_users_spec.rb#L29
["runner", "root"] loginctl_linger_users returns list with root others are present
Failure/Error: expect(Facter.value(:loginctl_linger_users)).to eq(%w[abc test root])
#<Dir (class)> received :exist? with unexpected arguments
expected: ("/var/lib/systemd/linger")
got: ("/home/runner/.puppetlabs/opt/facter/facts.d")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|