Merge pull request #1112 from filbranden/vagrant_salt_master2

Redirect output of `systemctl enable` to stdout
This commit is contained in:
Daniel Smith 2014-09-02 16:20:52 -07:00
commit 0b4581e98d

View File

@ -86,7 +86,9 @@ EOF
#
# This is used to inform the cloud provider used in the vagrant cluster
yum install -y salt-api
systemctl enable salt-api
# Set log level to a level higher than "info" to prevent the message about
# enabling the service (which is not an error) from being printed to stderr.
SYSTEMD_LOG_LEVEL=notice systemctl enable salt-api
systemctl start salt-api
fi