I just downloaded the puppet enterprise installer for my OS version from the puppetlabs website and the installer seems to fail immediately. Why is it failing:
sudo ./puppet-enterprise-installer
basename: missing operand
Try `basename --help' for more information.
This is the only output from the installer before it stops.
I am running Centos 6 64bit.
basename
was run with no target but we can't help without having access to the script you're running. – terdon♦ Mar 2 '15 at 20:49basename
call there is run on$0
which can't ever be empty (it's the name of the running script) as far as I know. Try creating a file with this line:basename ${0?}
, save it asfoo
and then run/bin/bash foo
. Does that also give an error? – terdon♦ Mar 2 '15 at 21:04sudo bash -x ./puppet-enterprise-installer
and post the resulting trace. – Gilles 'SO- stop being evil' Mar 3 '15 at 0:11