Use internal ip for connecting to salt master, with clearer env var

This commit is contained in:
Justin Santa Barbara
2015-03-03 12:18:12 -05:00
parent fbf45e8a39
commit 94a433157e
3 changed files with 6 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
# Prepopulate the name of the Master
mkdir -p /etc/salt/minion.d
echo "master: $MASTER_NAME" > /etc/salt/minion.d/master.conf
echo "master: $SALT_MASTER" > /etc/salt/minion.d/master.conf
cat <<EOF >/etc/salt/minion.d/grains.conf
grains:

View File

@@ -16,7 +16,7 @@
# Prepopulate the name of the Master
mkdir -p /etc/salt/minion.d
echo "master: $MASTER_NAME" > /etc/salt/minion.d/master.conf
echo "master: $SALT_MASTER" > /etc/salt/minion.d/master.conf
# Turn on debugging for salt-minion
# echo "DAEMON_ARGS=\"\$DAEMON_ARGS --log-file-level=debug\"" > /etc/default/salt-minion