diff --git a/cluster/aws/templates/salt-master.sh b/cluster/aws/templates/salt-master.sh index abdd473c12b..60eb94cdf3e 100755 --- a/cluster/aws/templates/salt-master.sh +++ b/cluster/aws/templates/salt-master.sh @@ -33,7 +33,7 @@ function env_to_salt { local value=${!env_key} if [[ -n "${value}" ]]; then # Note this is yaml, so indentation matters - cat <>/etc/salt/minion.d/grains.conf + cat <>/etc/salt/minion.d/grains.conf ${key}: '$(echo "${value}" | sed -e "s/'/''/g")' EOF fi