This video comes from The Joy of Automating series, hosted by Franklin Webber.
In this episode we focus on working with converting a script to a recipe using Chef community cookbooks. Community cookbooks are powerful. Learning how to leverage them will help increase the speed at which you work. We will create a cookbook that deploys Jenkins.
In this episode we focus on taking the manual installation instructions found in this tutorial and create a recipe that does the work for us.
When you are done with the initial implementation, we encourage you to challenge by implementing a Jenkins cookbook configuration file.
We started to explore the Jenkins implementation in the community cookbook. We copied the implementation except for the remaining template resource that allows us to configure Jenkins.
Find that original file on the test instance or use the template provided in the community cookbook and bring it into the cookbook you developed. Start with the hard-coded values and then slowly start to replace them template variables.