epcim
6/9/2017 - 9:41 AM

reclass salt cluster

reclass salt cluster


# salt-formulas https://salt-formulas.readthedocs.io/en/latest

# frequenty you have under classes/cluster definitions for multiple environments
# to sync change:
E1=regionOne E2=regionTwo;export E1 E2; git status | awk '/modified: /{print $2}' | sed -e "s/.*$E1//g" -e "s/.*$E2//g" | sort -u | egrep '^/' | xargs -I{} echo vimdiff classes/cluster/$E1{} classes/cluster/$E2{}