cookbook 'git_dwk', '= 0.1.1'
git_dwk (3) Versions 0.1.1 Follow0
Git deploy with key
cookbook 'git_dwk', '= 0.1.1', :supermarket
knife supermarket install git_dwk
knife supermarket download git_dwk
git_dwk
Git deploy with key. You can use this cookbook to deploying from your Own server via ssh.
First step:
Convert ssh key to json compatible format:
cat .ssh/dummy | tr "\n" "#" | sed 's/#/\\n/g'
Second step:
Create a vault, and upload ssh private key. You can see an example in cookbook.
Third step:
Include my recipe and add this snippet 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.1 - 2017-09-04
- My english bad!
0.1.0 - 2017-09-04
- Cookbook created!
License Metric
0.1.1 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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 failed this metric
FC069: Ensure standardized license defined in metadata: git_dwk/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any