Skip to content

Commit

Permalink
test debian11 and 12
Browse files Browse the repository at this point in the history
  • Loading branch information
bugoff committed Feb 5, 2024
1 parent c507f5e commit 94ddcac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ This file is used to list changes made in each version of the ntp cookbook.

Updated readme this cookbook only support chef 15.5+

Remove support for debian-8 / debian-9 / debian-10.
Adds support for debian-11 / debian-12

since debian bookworm the ntp user is ntpsec (i expect debian will continue to use this in all later versions)

for debian / redhat based os'es there is a leap-second file, prefer to use this.
Expand Down
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
default['ntp']['conf_owner'] = 'root'
default['ntp']['conf_group'] = 'root'

if platform?('debian') && node['platform_version'].to_i <= 12
if platform?('debian') && node['platform_version'].to_i < 12
default['ntp']['var_owner'] = 'ntpsec'
default['ntp']['var_group'] = 'ntpsec'
else
Expand Down
2 changes: 0 additions & 2 deletions kitchen.global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ platforms:
- name: centos-7
- name: centos-stream-8
- name: centos-stream-9
- name: debian-9
- name: debian-10
- name: debian-11
- name: debian-12
- name: fedora-latest
Expand Down
1 change: 0 additions & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ platforms:
- name: amazonlinux-2
- name: centos-7
- name: centos-8
- name: debian-9
- name: debian-11
- name: debian-12
- name: fedora-latest
Expand Down

0 comments on commit 94ddcac

Please sign in to comment.