From c1c789aea611fb67b6fedaeea0ca4d09ace51806 Mon Sep 17 00:00:00 2001 From: Alan Gutierrez Date: Mon, 16 Nov 2015 16:37:56 -0500 Subject: [PATCH] Fix generation of master `minion.d/grains.conf`. Remove a comment that disabled the redirection of output destined for `/etc/salt/minion.d/grains.conf`. Must have been a commented added to debug the generation of the line, to view it on `STDOUT`. --- cluster/aws/templates/salt-master.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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