Add loginctl_linger_users fact #488
Annotations
3 errors
Run tests:
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.
|
Run tests:
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.
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading