This file is used to list changes made in each version of the zap cookbook.
v1.1.0
- Add immediately support to
zap::apt_repos
andzap::yum_repos
v1.0.2
- Add
zap::init_d
to disable sysv-init services on centos-6
v1.0.1
- Add
zap::sudoers_d
to prunesudo
resources from /etc/sudoers.d
v1.0.0
- Rewrote to support custom resources
- Remove
zap_firewall
as v2.6.2 of the firewall cookbook manages the ruleset as a whole - Remove
zap_apt_repos
in favor of thezap::apt_repos
recipe - Remove
zap_yum_repos
in favor of thezap::yum_repos
recipe
v0.15.1
- Fix bug with filter property lamba expression
v0.15.0
- Add
force
to force running ofzap
when there is an override_runlist Addresses nvwls#36
v0.14.0
- Fix issues with zap_crontab and non-root cron
v0.13.1
- added unit tests for
zap_groups
v0.13.0
- Fix rubocop and foodcritic lint
v0.12.0
- added unit tests for zap_users and zap_yum_repos
- adapt logic to make it compatible with versions 12.14 and higher
Bump version for tag
Using stove for upload
- Display a warning if a filter is given but the provider does not support it.
- Apply @pattern before entering
converge_by
- Reworked to use
converge_by
- Allow klass to be passed into zap()
- zap_directory will now remove symlinks
- Internally @klass should be an array
- Reworked klass to convert string into class
- Added recipe [zap::cron_d] to remove /etc/cron.d entries
- Added recipe [zap::firewall_windows] adds Windows Firewall support to zap firewall recipe
- Support using a descriptive resource name; added path var to zap_directory
- Using the shovel operator in chef 12 results in the resource being added directly after the current resource, rather than at the end of the resource list. [joyofhex]
- Support globbed directories, e.g.
/home/*/.ssh
- Added recipe [zap::firewall] for support for the firewall cookbook (main caller)
- Added recipe [zap::firewall_iptables] adds iptables support to zap firewall recipe
- Added recipe [zap::firewall_firewalld] adds firewalld support to zap firewall recipe
- Eliminate warnings on newer versions of ChefSpec
- Added ZapDirectory#select to return
path
instead of the default ofname
.
The following will now be properly recognized:
file 'arbitrary name' do
path '/the/real/path'
end
- Added recursive option to zap_directory to remove all files under the specified directory
- Refactored recipe[zap::yum_repos_d] into the zap_yum_repos resource provider
- Added an option to call zap immediately at a certain point in your Chef run
- Added recipe[zap::yum_repos_d]
- Added collect and select to the resource
- Moved @filter.call back
- Moved @filter.call into iterate
- Fixed rubocop warning
- Added klass keyword to DSL which can take a class, i.e. Chef::Resource::File, or string, i.e. 'Chef::Resource::YumRepository', or an array of classes or strings.
- Added zap_users and zap_groups
- Added filter for more complex, codified filtering
- Log at info
- Refactored into an HWRP to allow better code reuse
- Cleaned up Rubocop warnings
- Added zap_crontab to zap the specified user's crontab
- Use ::File.join instead of hardcoding slashes
- Split zap_directory into two phases, :delay to move it to the end of the resource list, and :run to do the actual work.
- Move zap_directory to the end of the resource list.