diff --git a/VERSION b/VERSION index 9212e0f1f..6046403bc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0-rc.2 +2.2.0-rc.3 diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index 5b3eeb647..e59345886 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -30,3 +30,8 @@ header() { echo printf '%s\n' "$banner" "$*" "$banner" } + +lookup_pillar() { + key=$1 + cat /opt/so/saltstack/local/pillar/global.sls | grep $key | awk '{print $2}' +} \ No newline at end of file diff --git a/salt/common/tools/sbin/so-user b/salt/common/tools/sbin/so-user index 357614efb..7ec71c9f5 100755 --- a/salt/common/tools/sbin/so-user +++ b/salt/common/tools/sbin/so-user @@ -189,7 +189,10 @@ case "${operation}" in validateEmail "$email" createUser "$email" - echo "Successfully added new user" + echo "Successfully added new user to SOC" + echo $password | so-thehive-user-add "$email" + echo $password | so-cortex-user-add "$email" + echo $password | so-fleet-user-add "$email" ;; "list")