Puppet exec complains about non-absolute paths [closed]
Info: Retrieving pluginfacts Info: Retrieving plugin Info: Caching catalog for icarus.cos.lan Error: Failed to apply catalog: Parameter unless failed on Exec[systemd_localectl_set_locale]: [… the command repeated below …] is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/environments/development/modules/systemd/manifests/config.pp:527 Wrapped exception: '/usr/bin/diff <(/usr/bin/env -i /bin/sh -c -o allexport '. /etc/locale.conf 2> /dev/null && /usr/bin/printenv' | /usr/bin/sort) <(/bin/echo 'LC_MESSAGE=en_US.UTF-8' /usr/bin/printenv | /usr/bin/env -i /bin/sh -s | /usr/bin/sort)' is not qualified and no path was specified. Please qualify the command or specify a path.
The weird thing is, as for debugging I switch to some console, invoke a separate shell, do a export
PATH= (empty path), and call my unless condition as stated above, and there it works.
What am I missing?
PS: Why is it impossible editing a question without destroying its formatting? I'm asking this Q the 3rd time.