Skip to content

Commit e7c7787

Browse files
authored
Merge pull request #581 from smortex/freebsd
Allow detection of non-AIO Puppet
2 parents 9df7350 + 6c5f226 commit e7c7787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/install_shell.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ fi
133133
# Track to handle puppet5 to puppet6
134134
if [ -f /opt/puppetlabs/puppet/VERSION ]; then
135135
installed_version=`cat /opt/puppetlabs/puppet/VERSION`
136+
elif which puppet >/dev/null 2>&1; then
137+
installed_version=`puppet --version`
136138
else
137139
installed_version=uninstalled
138140
fi

0 commit comments

Comments
 (0)