Sha256: f9cd0254c79b40ac5b74a74c97c4e6ee8679e317a84524c679f5660f27bf43a0
Contents?: true
Size: 1.43 KB
Versions: 3
Compression:
Stored size: 1.43 KB
Contents
[![Build Status](https://travis-ci.org/petecheslock/berks2env.svg?branch=master)](https://travis-ci.org/petecheslock/berks2env) 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](http://youtu.be/L__8o02od6Q?t=21m16s) 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](https://github.com/petecheslock/berks2env/blob/4fa764134c11912a9c82391540903697fe7fe5a6/berks2env.rb) * Going to eventually convert this into a rubygem, and maybe even propose as a feature update to Berks3 * 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.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
berks2env-0.0.3 | README.md |
berks2env-0.0.2 | README.md |
berks2env-0.0.1 | README.md |