Skip to content

Commit

Permalink
Enable unified_mode for Chef 17 compatibility (#120)
Browse files Browse the repository at this point in the history
* Enable unified_mode for Chef 17 compatibility

Signed-off-by: Robert Detjens <[email protected]>

* remove EOL platform from CI

Signed-off-by: Robert Detjens <[email protected]>
  • Loading branch information
detjensrobert authored Aug 10, 2021
1 parent f3b7100 commit 1d67f3a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- 'centos-7'
- 'centos-8'
- 'fedora-latest'
- 'ubuntu-1604'
- 'ubuntu-1804'
- 'ubuntu-2004'
- 'opensuse-leap-15'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Enable `unified_mode` for Chef 17 compatiblity

## 5.0.1 - *2021-06-01*

## 5.0.0 - *2020-12-14*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of

### Chef

- Chef 12.15+
- Chef 15.3+

### Cookbooks

Expand Down
7 changes: 0 additions & 7 deletions kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ platforms:
image: dokken/fedora-latest
pid_one_command: /usr/lib/systemd/systemd

- name: ubuntu-16.04
driver:
image: dokken/ubuntu-16.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update

- name: ubuntu-18.04
driver:
image: dokken/ubuntu-18.04
Expand Down
3 changes: 2 additions & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ driver:
provisioner:
name: chef_zero
product_name: chef
chef_license: accept-no-persist
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
Expand All @@ -18,8 +19,8 @@ platforms:
- name: debian-9
- name: debian-10
- name: fedora-latest
- name: ubuntu-16.04
- name: ubuntu-18.04
- name: ubuntu-20.04
- name: freebsd-12

suites:
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version '5.0.1'
source_url 'https://github.com/sous-chefs/openldap'
issues_url 'https://github.com/sous-chefs/openldap/issues'
chef_version '>= 12.15'
chef_version '>= 15.3'

supports 'amazon'
supports 'centos'
Expand Down
2 changes: 2 additions & 0 deletions resources/install.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
unified_mode true

property :package_action, Symbol, default: :install
property :install_client, [true, false], default: true, description: 'Install openldap client package(s)'
property :install_server, [true, false], default: true, description: 'Install openldap server package(s)'
Expand Down

0 comments on commit 1d67f3a

Please sign in to comment.