We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b07439a commit c935299Copy full SHA for c935299
tasks/agent_install.sh
@@ -6,6 +6,6 @@ if [ -x "/opt/puppetlabs/bin/puppet" ]; then
6
echo "WARNING: Puppet agent is already installed. Re-install, re-configuration, or upgrade not supported and might fail."
7
fi
8
9
-flags=$(echo $PT_install_flags | sed -e 's/^\["*//' -e 's/"*\]$//' -e 's/", *"/ /g')
+flags=$(echo "$PT_install_flags" | sed -e 's/^\["*//' -e 's/"*\]$//' -e 's/", *"/ /g')
10
11
curl -k "https://${PT_server}:8140/packages/current/install.bash" | bash -s -- $flags
0 commit comments