This file is used to list changes made in each version of the chef-sugar cookbook and gem.
- Add
virtual?
andphysical?
methods - Add Scaleway C1 server (arm arch) support
- Add IMB s390x support
- Add missing Ubuntu release names
- Drop Ruby 2.0.0 support from Travis test matrix
- Pin to Rack 1.6 (dev dep)
- Break up
Chef::Sugar::Constraints
into a class and a dsl file - Add
platform_version
method with full constraints comparison support
- Add platform matchers for
debian
andfedora
- Add
openvz
support under virtualization - Add init system detection support
- Add support for
nexus
,ios_xr
platforms andwrlinux
platform_family - Add additional
aix
helpers
- Properly expose
Architecture#i386?
in the DSL
- Update Intel CPU types based on existing Fauxhai data
- Update SPARC logic and 32/64-bit logic for x86 and i386
- Fix 32-bit logic
- Fix default behavior to include chef-sugar at compile time
- Fix Chef 12.1.0 warnings for chef_gem compile time install
- Fix
redhat_enterprise_linux?
matcher
- Add helpers for
ppc64
andppc64le
architecture
- Adjustments to error message
- Rename
compile_time
to at_compile_time
- if your recipes are affected by this breaking change, your Chef Client run will produce a verbose error message with details on how to fix the error.
- Drop support for Ruby 1.9 (it might still work, but it is no longer officially supported)
- Remove accidentially committed gem source
- Bump development dependencies
- Add
digitalocean?
matcher - Expose the
rhel
platform asel
- Add
ppc64le
platform - Add helper for determining if architecture is SPARC
- Add helper for determining if architecture is Intel
- Add dynamic platform/version matchers for Solaris
- Reset namespace_options when reaching top-level resources
- Add
data_bag_item_for_environment
function - Add
kvm?
matcher - Add
virtualbox?
matcher
- Use
.key?
to check for hash key presence, raising anAttributeDoesNotExist
error sooner
- No changes from v2.4.0 - forced a new version upload to the Chef Supermarket
- Add
docker?
matcher
- Include
amd64
in_64_bit?
check
- Check all 64-bit architectures that may be reported by Ohai
- Be more tolerant of
nil
values return from sub functions - Check to make sure
node['domain']
is notnil
before calling#include?
- Add
vmware?
matcher - Allow the attribute DSL to access parent attributes
- Return
true
orfalse
from all Boolean methods (instead ofnil
or truthy values)
- Add
smartos?
matcher - Add
omnios?
matcher
- Add
solaris2?
matcher - Add
aix?
matcher - Add 'lxc?' matcher
- Fix a bug in namespace memoization during attribute initialization
- Remove
not_linux?
method - Remove
not_windows?
method
- Miscellaneous spelling fixes
- Update a failing unit test for
installed?
- Add Mac OS X to the list of platforms (Yosemite)
- Upgrade to RSpec 3
- Fix
which
(andinstalled?
andinstalled_at_version?
) when given an absolute path - Fix
linux?
check to only return true on real linuxes
- Check both
$stdout
and$stderr
inversion_for
- Add additional platform versions
- Make
includes_recipe?
a top-level API (instead of just Node) - Match on the highest version number instead of direct equality checking on platform versions
- Define
Object#blank?
as a core extension - Define
String#flush
as a core extension - Remove Stove
- Fix a bug in
vagrant?
returning false on newer Vagrant versions - Remove Coveralls
- See (1.2.2), but I botched the release
- Fix a critical bug with
encrypted_data_bag_item
using the wrong key
- Add
namespace
functionality for specifying attributes in a DSL - Add constraints helpers for comparing version strings
- Add
require_chef_gem
to safely require and degrade if a gem is not installed - Add
deep_fetch
anddeep_fetch!
to fetch deeply nested keys - Accept an optional secret key in
encrypted_data_bag_item
helper and raise a helpful error if one is not set (NOTE: this changes the airity of the method, but it's backward-compatible because Ruby is magic) - Add Stove for releasing
- Updated copyrights for 2014
- Add
cloudstack?
helper - Add data bag helpers
- Remove foodcritic checks
- Upgrade development gem versions
- Randomize spec order
- Add development recipe
- Add
compile_time
,before
, andafter
filters
- First public release