We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 63cfe49 + 09f9622 commit deea897Copy full SHA for deea897
tasks/pe_install.sh
@@ -26,6 +26,9 @@ else
26
/bin/bash "${tgzdir}/${pedir}/puppet-enterprise-installer" -y
27
fi
28
29
+# The exit code of the installer script will be the exit code of the task
30
+exit_code=$?
31
+
32
if [ "$PT_shortcircuit_puppetdb" = "true" ]; then
33
systemctl stop pe-puppetdb.service
34
rm /etc/systemd/system/pe-puppetdb.service.d/10-shortcircuit.conf
@@ -35,3 +38,6 @@ fi
35
38
if [ "$PT_puppet_service_ensure" = "stopped" ]; then
36
39
systemctl stop puppet.service
37
40
41
42
+# Exit with the installer script's exit code
43
+exit $exit_code
0 commit comments