We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a64bc04 + c4ae441 commit 4d148c4Copy full SHA for 4d148c4
tasks/install_shell.sh
@@ -144,7 +144,7 @@ fi
144
# Track to handle puppet5 to puppet6
145
if [ -f /opt/puppetlabs/puppet/VERSION ]; then
146
installed_version=`cat /opt/puppetlabs/puppet/VERSION`
147
-elif which puppet >/dev/null 2>&1; then
+elif type -p puppet >/dev/null; then
148
installed_version=`puppet --version`
149
else
150
installed_version=uninstalled
0 commit comments