I'm writing a bash script that needs to run on PE ...
# puppet-enterprise
e
I'm writing a bash script that needs to run on PE compilers but fail if it runs on the MoM. what's the least-awful way to check such a condition from shell, like looking for a specific file/path or calling
facter <something>
?