Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add chef-vault knife cmd support

  • Loading branch information...
commit 645fceb38b091e1dd5c9804a444730a9837bae07 1 parent ca90021
Johan Svensson authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/knife/_knife
View
5 plugins/knife/_knife
@@ -31,7 +31,7 @@ _knife() {
case $state in
knifecmd)
- compadd -Q "$@" bootstrap client configure cookbook "cookbook site" "data bag" diff exec environment index node recipe role search ssh status upload windows $cloudproviders
+ compadd -Q "$@" bootstrap client configure cookbook "cookbook site" "data bag" diff exec environment index node recipe role search ssh status upload vault windows $cloudproviders
;;
knifesubcmd)
case $words[2] in
@@ -65,6 +65,9 @@ _knife() {
upload)
_arguments '*:file or directory:_files -g "*"'
;;
+ vault)
+ compadd -Q "$@" create decrypt delete edit remove "rotate all keys" "rotate keys" show update
+ ;;
windows)
compadd "$@" bootstrap
;;
Please sign in to comment.
Something went wrong with that request. Please try again.