Ohai Chefs!
I just pushed the first beta for ChefSpec v3.1.0 to RubyGems.
New features
Added support for Librarian
Added Cacher module for caching runner results
Added Chef Zero (server) mode
Added basic resource reporting (coverage)
Improvements
No longer include deprecations module by default
Added examples for stubbing commands across recipes
Yield a block after cookbooks are compiled but before they are converged
Added an IRC channel #chefspec
You can install this version of ChefSpec by adding it explicitly to your Gemfile:
gem ‘chefspec’, '~> 3.1.0.beta’
Or manually install it with:
gem install chefspec --pre
Please try out this beta release and report any issues on GitHub.
Changelog
Changeset
Seth Vargo
Release Engineer, Opscode
@sethvargo
Ohai Seth,
could you give a small example on how to define a node for the
chef-zero-support that results in a usable node?
The example given in the README.md does return the node when searched
for. But it doesn't say anything about how to define the node when I
also want to do something with the node?
For example in the munin-cookbook, lots of nodes are searched for. And
I managed to define a node that is then found. But I can't set any
attributes on that node that would be accessible in the template that
is feed with the result of the search.
(Preliminary code at
https://github.com/bcs-de/munin/tree/add_server_search_tests )
Thanks in advance,
Arnold
Am Sun, 15 Dec 2013 19:57:02 -0500 schrieb Seth Vargo sethvargo@getchef.com:
Ohai Chefs!
I just pushed the first beta for ChefSpec v3.1.0 to RubyGems.
New features
Added support for Librarian
Added Cacher module for caching runner results
Added Chef Zero (server) mode
Added basic resource reporting (coverage)
Improvements
No longer include deprecations module by default
Added examples for stubbing commands across recipes
Yield a block after cookbooks are compiled but before they are
converged Added an IRC channel #chefspec
You can install this version of ChefSpec by adding it explicitly to
your Gemfile:
gem 'chefspec', '~> 3.1.0.beta'
Or manually install it with:
gem install chefspec --pre
Please try out this beta release and report any issues on GitHub.
Changelog
Changeset
Seth Vargo
Release Engineer, Opscode
@sethvargo