У меня возникли проблемы с получением плагина Git для knife-spork, чтобы зафиксировать и отправить его в репозиторий.
Вот вывод из knife spork info
:
{"version_change_threshold"=>2,
"preserve_constraint_operators"=>true,
"always_promote_remote"=>true,
"skip_berkshelf"=>false,
"role_match_file_name"=>true,
"role_safe_delete"=>true,
"json_options"=>{"indent"=>" "},
"plugins"=>{
"git"=>{
"auto_push"=>true,
"remote"=>"origin",
"branch"=>"master"
}
}}
[...]
KnifeSpork::Plugins::Git: enabled
[...]
Когда я делаю knife spork bump COOKBOOK minor
:
Git: Pulling latest changes from /path/to/chef-repo/cookbooks/COOKBOOK
Pulling latest changes from git submodules (if any)
Successfully bumped base to v0.2.0!
Git add'ing /path/to/chef-repo/cookbooks/COOKBOOK/metadata.rb
Что только добавляет... Потом делаю knife spork upload COOKBOOK
:
Git: Pulling latest changes from /path/to/chef-repo/cookbooks/COOKBOOK
Pulling latest changes from git submodules (if any)
Freezing COOKBOOK at 0.2.0...
Successfully uploaded [email protected]!
Который загружает поваренную книгу на сервер шеф-повара, но не фиксирует репо и не пытается нажать... И никаких ошибок не выводится :/