Merge pull request #17337 from bigeasy/aws-runtime_config

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-16 17:05:46 -08:00

View File

@@ -33,7 +33,7 @@ function env_to_salt {
local value=${!env_key}
if [[ -n "${value}" ]]; then
# Note this is yaml, so indentation matters
cat <<EOF # >>/etc/salt/minion.d/grains.conf
cat <<EOF >>/etc/salt/minion.d/grains.conf
${key}: '$(echo "${value}" | sed -e "s/'/''/g")'
EOF
fi