cookbook 'git_dwk', '= 0.1.0'
git_dwk (3) Versions 0.1.0 Follow0
Git deploy with key
cookbook 'git_dwk', '= 0.1.0', :supermarket
knife supermarket install git_dwk
knife supermarket download git_dwk
git_dwk
Git deploy with key. You can use this cookbook to deploying for your Own server via ssh.
Fist step:
Convert ssh key to json compatible format:
cat .ssh/dummy | tr "\n" "#" | sed 's/#/\\n/g'
Second step:
Create a vault, and upload to ssh private key. You can see an example in cookbook.
Third step:
Include my recipe and add this to your recipe:
gitdeploy do
path
vault_name
vault_item
branch
action :default
end
Dependent cookbooks
git >= 0.0.0 |
chef-vault >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.1.0 - 2017-09-04
- Cookbook created!
License Metric
0.1.0 failed this metric
FC067: Ensure at least one platform supported in metadata: git_dwk/metadata.rb:1
FC069: Ensure standardized license defined in metadata: git_dwk/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: git_dwk/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any