Project

berks2env

0.0
No commit activity in last 3 years
No release in over 3 years
Convert a Berkshelf Lockfile to a Chef Environment json
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0
~> 0
~> 2.14.8
~> 2.14.6
~> 0.21

Runtime

~> 3.1
~> 11.8
>= 1.7.7, ~> 1.7
 Project Readme

Build Status Gem Version Dependency Status Code Climate berks2env

Convert a Berkshelf Lockfile to a Chef Environment json

With Berks3 - berks apply is an awesome feature - but doesn't work if you want to create a net new environment (via your CI system)

What this does is allows you to pass in a branch or version number (or any arbitrary data really) and a Berksfile.lock and convert them into a Chef server supported envrionment json.

TODO

Currently this is the raw, original version of the script we use to create environment files per our workflow that was discussed at ChefConf 2014 - You can watch this talk here.

https://www.youtube.com/watch?v=L__8o02od6Q

Use this link to jump directly to the section I talk about Jenkins/CI workflows If you just want the original script we used on CI (per the talk above) - you can find it here

  • Going to eventually convert this into a rubygem
  • Going to support another command option to injest json into the resultant environment json
  • General cleanup and refactor to make it more flexible.
  • This is raw and has only a single specific use case - Watch my talk if you want more info about how and why this is used.