This repository can be used as a starting point when developing chef cookbooks for camunda.
- Clone this repository
git clone [email protected]/camunda-ci/camunda-template-cookbook.git
. - To clear the repository history, delete the
.git
folder and immediately reinitialize the folder as a git repository usinggit init
. - Add the remote origin of your new cookbook repository like
git remote add origin [email protected]:camunda-ci/camunda-whatever-cookbook.git
. - Use a text editor or
sed / grep
whatever to replace the stringcamunda-template
with your cookbook name eg.camunda-jenkins
inside all files. Sed examplegrep -lr --exclude-dir=".git" -e "camunda-template" . | xargs sed -i "s/camunda-template/camunda-jenkins/g"
. - Delete this
README
and renameREADME.md.example
toREADME.md
. - Add all files using
git add .
. Commit all filesgit commit -m "Initial commit"
. Push all files to origin likegit push -u origin master
.
Have a look at the new README.md
to get a description of what this cookbook template provides and how it is used.