southalc / podman

Puppet module for podman
Apache License 2.0
13 stars 30 forks source link

podman fact can fail if root is running a rootless socket #73

Closed traylenator closed 11 months ago

traylenator commented 11 months ago

While its a slightly strange situation to be in steps to reproduce:

systemctl start podman.socket
systemctl start --user podman.socket

both as root.

Results in:

Error: Facter: Error while resolving custom fact fact='podman', resolution='<anonymous>': can't modify frozen String: "Cannot merge \"/run/podman/podman.sock\":String and \"/run/user/0/podman/podman.sock\":String"
abotelho-cbn commented 11 months ago

Error: Facter: Error while resolving custom fact fact='docker', resolution='<anonymous>': undefined method[]' for nil:NilClass`

This is what we get on our end.

stdietrich commented 11 months ago

For Podman, this is fixed with #71

southalc commented 11 months ago

Thanks for reporting and fixing this bug!