From 6c1a9755b45ce41b2f6a41d2821de9fbf198ed96 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mar 12 2019 22:41:04 +0000 Subject: add "highstate" and "testhighstate" aliases to bashrc "salt-call state.highstate --state-output=changes --output-diff" (optionally with "test=True") is the command people should need most, therefore make it easier to type ;-) --- diff --git a/salt/profile/accounts/files/etc/bash.bashrc.local.jinja b/salt/profile/accounts/files/etc/bash.bashrc.local.jinja index beabbf1..59e6a36 100644 --- a/salt/profile/accounts/files/etc/bash.bashrc.local.jinja +++ b/salt/profile/accounts/files/etc/bash.bashrc.local.jinja @@ -35,3 +35,6 @@ case "$(declare -p PS1 2> /dev/null)" in PS1="${_t}${_u}:\w${_p} " ;; esac + +alias highstate="salt-call state.highstate --state-output=changes --output-diff" +alias testhighstate="salt-call state.highstate --state-output=changes --output-diff test=True"