No commit activity in last 3 years
No release in over 3 years
Add Chef node data to Infrataster from JSON
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0

Runtime

>= 11.12
~> 0.3.0
 Project Readme

infrataster-plugin-chef

This is a plugin that works with https://github.com/ryotarai/infrataster and https://github.com/opscode/chef-provisioning under Vagrant to extend the Infrataster::Server object to contain Chef node data

Usage

Within your spec_helper.rb instead of using Infrataster::Server.define use the new Infrataster::ChefServer class instead as shown below

Infrataster::ChefServer.define(
  "testserver",
  "192.168.39.20",
  chefnode: "prov/repo/nodes/testserver.json",
  vagrant: true
)

chefnode is a new argument that provides the path to a JSON file that represents the chef node. When using chef-provisioning to create servers this is usually created by chef-provisioning within your existing local repository