move salt pillars to defaults

This commit is contained in:
m0duspwnens
2020-07-28 16:58:44 -04:00
parent bfae439c90
commit 8905869db2
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ upgrade_check() {
}
upgrade_check_salt() {
NEWSALTVERSION=$(grep version: $UPDATE_DIR/pillar/salt/master.sls | awk {'print $2'})
NEWSALTVERSION=$(grep version: $UPDATE_DIR/salt/salt/master.defaults.yaml | awk {'print $2'})
if [ "$INSTALLEDSALTVERSION" == "$NEWSALTVERSION" ]; then
echo "You are already running the correct version of Salt for Security Onion."
else