typo, using local variable for salt-call
This commit is contained in:
parent
bb6f208666
commit
f290d39b96
@ -70,12 +70,12 @@ function setup_dotfiles(){
|
||||
}
|
||||
|
||||
function do_salt_call(){
|
||||
alias salt='sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@"'
|
||||
local salt="sudo salt-call --local --file-root $HOME/salt/states --pillar-root $HOME/salt/pillars"
|
||||
new_log "Running salt high state"
|
||||
if asktobreak;then
|
||||
return
|
||||
fi
|
||||
salt state.apply
|
||||
$salt state.apply
|
||||
}
|
||||
|
||||
setup_dotfiles
|
||||
|
Loading…
Reference in New Issue
Block a user