my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add docc helpers

+28
+14
bin/docc-refresh
··· 1 + #!/bin/sh 2 + 3 + app="$1" 4 + contexts="bolt dash dust flux kiwi luca navy nova puff taro vega wolf" 5 + 6 + if [ -z "$app" ]; then 7 + printf "%s\n" "app name required" 8 + exit 1 9 + fi 10 + 11 + for i in $contexts; do 12 + # vault login 13 + docc --context "$i" update secret-sync -n chef "$app" --secret-auth token,$(cat ~/.vault-token) 14 + done
+14
bin/docc-restart
··· 1 + #!/bin/sh 2 + 3 + app="$1" 4 + contexts="bolt dash dust flux kiwi luca navy nova puff taro vega wolf" 5 + 6 + if [ -z "$app" ]; then 7 + printf "%s\n" "app name required" 8 + exit 1 9 + fi 10 + 11 + for i in $contexts; do 12 + # vault login 13 + docc --context "$i" -n chef restart "$app" 14 + done