Skip to content

removed compat_resource #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cookbooks/apt/.delivery/project.toml

This file was deleted.

1 change: 0 additions & 1 deletion cookbooks/apt/.github/CODEOWNERS

This file was deleted.

20 changes: 0 additions & 20 deletions cookbooks/apt/.github/ISSUE_TEMPLATE.md

This file was deleted.

14 changes: 0 additions & 14 deletions cookbooks/apt/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

49 changes: 0 additions & 49 deletions cookbooks/apt/.gitignore

This file was deleted.

53 changes: 0 additions & 53 deletions cookbooks/apt/.travis.yml

This file was deleted.

78 changes: 77 additions & 1 deletion cookbooks/apt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,85 @@

This file is used to list changes made in each version of the apt cookbook.

## 7.1.1 (2018-10-11)

- Allow to customize sender email for unattended-upgrades

## 7.1.0 (2018-09-05)

- Add the installation of dirmngr and gnupg to the apt default cookbook to support secure repositories
- Added support for the unattended-upgrade SyslogEnable configuration feature
- Added support for the unattended-upgrade SyslogFacility configuration feature

## 7.0.0 (2018-04-06)

### Breaking Change

- This cookbook no longer includes apt_preference as that resource was moved into Chef Client 13.3. The cookbook now also requires Chef 13.3 or later. If you require support for an older release of Chef you will need to pin to a 6.X release.

## 6.1.4 (2017-08-31)

- Restores ignore_failure true on compile time update.
- name_property vs name_attribute in the resource

## 6.1.3 (2017-07-19)

- Fixed typo in readme
- Fixed config namespace in the 10dpkg-options file

## 6.1.2 (2017-06-20)

- restore backwards compatability by respecting node['apt']['periodic_update_min_delay']

## 6.1.1 (2017-06-20)

- Remove action_class.class_eval usage that caused failures
- Remove wrong warning logs generated by apt_preference
- Fix wrong warning log in cacher-client recipe

## 6.1.0 (2017-04-11)

- Test with local delivery and not Rake
- Use proper value type for bsd-mailx package only_if/not_if block
- Update apache2 license string
- Convert apt_preference to a custom resource

## 6.0.1 (2017-02-27)

- Update cookbook description
- Testing updates for Chef 13 and fixes to the cacher recipe

## 6.0.0 (2017-02-08)

### Breaking changes

- apt_update and apt_repository resources have been removed from the cookbook. These resources were both added to the chef-client itself. Due to this we now require Chef 12.9 or later, which has both of these resources built in. If you require compatibility with older chef-client releases you will need to pin to the 5.X release.

### Other changes

- apt_preference resource now properly required a pin_priority, which prevents us from writing out bad preference files that must be manually removed

## 5.1.0 (2017-02-01)

- Convert integration tests to inspec
- Add management of the /etc/apt/apt.conf.d/10dpkg-options file with new attributes. This allows tuning of how dpkg will handle package prompts during package installation. Note that Chef 12.19+ will automatically suppress package prompts

## 5.0.1 (2016-12-22)

- Avoid CHEF-3694 in apt_preferences resource
- Cookstyle fixes

## 5.0.0 (2016-10-14)

- Remove search logic from the cacher client cookbook and rework attribute structure. See the attributes file and readme for new structure. Determining what servers to cache against is better handled in a wrapper cookbook where you can define the exact search syntax yourself
- Corrected readme examples for the cacher client setup
- Depend on the latest compat_resource
- Define matchers for ChefSpec
- Testing updates to better test the various recipes and providers in the cookbook on Travis

## 4.0.2 (2016-08-13)

- The cookbook requires Chef 12.1+ not 12.0. Update docs
- The cookbook requires Chef 12.1+ not 12.0\. Update docs
- Test on Chef 12.1 to ensure compatibility
- Restore compatibility with Chef < 12.4

Expand Down
9 changes: 6 additions & 3 deletions cookbooks/apt/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This gemfile provides additional gems for testing and releasing this cookbook
# It is meant to be installed on top of ChefDK which provides the majority
# of the necessary gems for testing this cookbook
#
# Run 'chef exec bundle install' to install these dependencies

source 'https://rubygems.org'

gem 'tomlrb'
gem 'rake'
gem 'stove'
gem 'community_cookbook_releaser'
18 changes: 0 additions & 18 deletions cookbooks/apt/MAINTAINERS.md

This file was deleted.

41 changes: 0 additions & 41 deletions cookbooks/apt/MAINTAINERS.toml

This file was deleted.

Loading