Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Latest commit

 

History

History
86 lines (71 loc) · 1.66 KB

README.md

File metadata and controls

86 lines (71 loc) · 1.66 KB

jgit Cookbook

Install jgit.sh Clone from Amazon s3.

Resource

jgit resource

jgit "/app/app_name" do
  repository "amazon-s3://IAM@backet-name/app.git"
  revision "master"
  action :sync
end

jgit resource is extend from git resource. see https://docs.getchef.com/resource_git.html

Attributes

jgit::install

Key Type Description Default
['jgit']['path'] String path to copy jgit binary "/usr/local/bin/jgit"
['jgit']['source'] String URL of jgit releases "https://github.com/team-lab/jgit/releases/download/v3.6.0.201411121045-token4-env4/jgit"
['jgit']['checksum'] String checksum of jgit binary "03548ab0660fb275c5cbf260cb6f7a41412f8fb4b11016ce6025bb2336566b52"

Recipe

jgit::install

Just include jgit in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[java]"
    "recipe[jgit::install]"
  ]
}

WARNING : jgit::install is not install 'jre(Java Runtime Environment)', but jgit need jre. you need jre by othre recipe.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Public domain