Hi Jayen,
I don't have so much ruby installed. Only version 2.1.
Are you running Debian Jessie?
Are you sure you put all your puppet apply command in one line?
=> I am able to reproduce the error when copy-pasting without putting
the whole command in one line in my bash terminal.
Could you post the result of the following command block please?
# -----------------------------
cat << __EOF__ > /tmp/my_manifest
exec {
'rm /tmp/myfile':
onlyif => 'test -L /tmp/myfile',
unless => 'stat -L /tmp/myfile',
path => '/usr/bin:/usr/sbin:/bin';
}
__EOF__
puppet apply -v /tmp/my_manifest
# -----------------------------
Could you also post the result of:
# -----------------------------
puppet config print --verbose | grep log.*level
# and
dpkg -l | egrep "(puppet|ruby)"
# -----------------------------
Best,
Joseph
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]