Fleet reactor - Typo fix

This commit is contained in:
Josh Brower
2020-05-28 11:36:38 -04:00
parent 11c641fd1b
commit e53e891bd6
2 changed files with 2 additions and 3 deletions

View File

@@ -44,5 +44,4 @@ salt-call state.apply filebeat queue=True >> /root/fleet-setup.log
docker stop so-nginx
salt-call state.apply nginx queue=True >> /root/fleet-setup.log
echo "Fleet Setup Complete - Login here: https://{{ MAIN_HOSTNAME }}"
echo "Your username is $1 and your password is $2"
echo "Fleet Setup Complete - Login here with the username and password you ran the script with: https://{{ MAIN_HOSTNAME }}"

View File

@@ -13,7 +13,6 @@ def run():
ROLE = data['data']['role']
ESECRET = data['data']['enroll-secret']
MAINIP = data['data']['mainip']
VERSION = data['data']['version']
STATICFILE = '/opt/so/saltstack/pillar/static.sls'
SECRETSFILE = '/opt/so/saltstack/pillar/secrets.sls'
@@ -50,6 +49,7 @@ def run():
PACKAGEVERSION = data['data']['current-package-version']
MASTER = data['data']['master']
VERSION = data['data']['version']
# Increment the package version by 1
PACKAGEVERSION += 1