Skip to content

Commit 1f55b5d

Browse files
authored
Update supported platforms (#136)
* Update supported platforms * Update default versions
1 parent 4181f20 commit 1f55b5d

File tree

12 files changed

+40
-49
lines changed

12 files changed

+40
-49
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ jobs:
7070
strategy:
7171
matrix:
7272
os:
73-
- 'centos-7'
74-
- 'centos-8'
75-
- 'debian-10'
73+
- 'centos-stream-9'
7674
- 'debian-11'
77-
- 'ubuntu-2004'
75+
- 'debian-12'
7876
- 'ubuntu-2204'
77+
- 'ubuntu-2404'
7978
suite:
8079
- 'authoritative-multi'
8180
- 'authoritative-postgres'

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -132,34 +132,34 @@ Installs PowerDNS authoritative server 4.7.x series using PowerDNS official repo
132132

133133
#### pdns_authoritative_install Usage examples
134134

135-
Install the latest 4.8.x series PowerDNS Authoritative Server
135+
Install the latest 4.9.x series PowerDNS Authoritative Server
136136

137137
```ruby
138138
pdns_authoritative_install 'server_01'
139139
```
140140

141-
Install the latest 4.7.x series PowerDNS Authoritative Server
141+
Install the latest 4.8.x series PowerDNS Authoritative Server
142142

143143
```ruby
144144
pdns_authoritative_install 'server_01' do
145-
series '47'
145+
series '48'
146146
end
147147
```
148148

149-
Install and upgrade to the latest 4.8.x PowerDNS Authoritative Server release
149+
Install and upgrade to the latest 4.9.x PowerDNS Authoritative Server release
150150

151151
```ruby
152152
pdns_authoritative_install 'server_01' do
153-
series '47'
153+
series '49'
154154
allow_upgrade true
155155
end
156156
```
157157

158-
Install the latest 4.8.x series PowerDNS Authoritative Server with the MySQL and Lua backends
158+
Install the latest 4.9.x series PowerDNS Authoritative Server with the MySQL and Lua backends
159159

160160
```ruby
161161
pdns_authoritative_install 'server_01' do
162-
series '48'
162+
series '49'
163163
backends ['mysql', 'lua']
164164
end
165165
```
@@ -259,25 +259,25 @@ Installs PowerDNS recursor 4.8.x series using PowerDNS official repository in th
259259

260260
#### pdns_recursor_install Usage examples
261261

262-
Install the latest 4.8.x release PowerDNS recursor
262+
Install the latest 5.0.x release PowerDNS recursor
263263

264264
```ruby
265-
pdns_recursor_install 'latest_4_8_x_recursor'
265+
pdns_recursor_install 'latest_5_0_x_recursor'
266266
```
267267

268-
Install the latest 4.7.x release PowerDNS recursor
268+
Install the latest 4.9.x release PowerDNS recursor
269269

270270
```ruby
271271
pdns_recursor_install 'my_recursor' do
272-
series '47'
272+
series '49'
273273
end
274274
```
275275

276-
Install and upgrade to the latest 4.8.x PowerDNS recursor release
276+
Install and upgrade to the latest 5.0.x PowerDNS recursor release
277277

278278
```ruby
279279
pdns_recursor_install 'my_recursor' do
280-
series '47'
280+
series '50'
281281
allow_upgrade true
282282
end
283283
```
@@ -374,7 +374,7 @@ There is an specific file for testing guidelines on this cookbook: TESTING.md
374374

375375
## License
376376

377-
Copyright (c) 2010-2014, Chef Software, Inc
378-
Copyright (c) 2014-2023, DNSimple Corporation
377+
Copyright (c) 2010-2025, Chef Software, Inc
378+
Copyright (c) 2014-2025, DNSimple Corporation
379379

380380
Licensed under the Apache License, Version 2.0.

kitchen.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,43 +15,38 @@ verifier:
1515
name: inspec
1616

1717
platforms:
18-
- name: centos-7
18+
- name: centos-stream-9
1919
driver:
20-
image: dokken/centos-7
20+
image: dokken/centos-stream-9
2121
pid_one_command: /usr/lib/systemd/systemd
2222

23-
- name: centos-8
24-
driver:
25-
image: dokken/centos-8
26-
pid_one_command: /usr/lib/systemd/systemd
27-
28-
- name: debian-10
23+
- name: debian-11
2924
driver:
30-
image: dokken/debian-10
25+
image: dokken/debian-11
3126
pid_one_command: /bin/systemd
3227
intermediate_instructions:
3328
- RUN /usr/bin/apt-get update
3429
- RUN /usr/bin/apt-get install dnsutils -y
3530

36-
- name: debian-11
31+
- name: debian-12
3732
driver:
38-
image: dokken/debian-11
33+
image: dokken/debian-12
3934
pid_one_command: /bin/systemd
4035
intermediate_instructions:
4136
- RUN /usr/bin/apt-get update
4237
- RUN /usr/bin/apt-get install dnsutils -y
4338

44-
- name: ubuntu-20.04
39+
- name: ubuntu-22.04
4540
driver:
46-
image: dokken/ubuntu-20.04
41+
image: dokken/ubuntu-22.04
4742
pid_one_command: /bin/systemd
4843
intermediate_instructions:
4944
- RUN /usr/bin/apt-get update
5045
- RUN /usr/bin/apt-get install dnsutils -y
5146

52-
- name: ubuntu-22.04
47+
- name: ubuntu-24.04
5348
driver:
54-
image: dokken/ubuntu-22.04
49+
image: dokken/ubuntu-24.04
5550
pid_one_command: /bin/systemd
5651
intermediate_instructions:
5752
- RUN /usr/bin/apt-get update

metadata.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
chef_version '>= 15'
1111

12-
supports 'ubuntu', '>= 20.04'
13-
supports 'debian', '>= 9.0'
12+
supports 'ubuntu', '>= 22.04'
13+
supports 'debian', '>= 11.0'
1414
supports 'centos', '>= 7.0'
15-
supports 'redhat', '>= 7.0'

resources/authoritative_install_debian.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
end
2828

2929
property :version, String
30-
property :series, String, default: '48'
30+
property :series, String, default: '49'
3131
property :debug, [true, false], default: false
3232
property :allow_upgrade, [true, false], default: false
3333
property :backends, Array
@@ -36,7 +36,6 @@
3636
apt_repository 'powerdns-authoritative' do
3737
uri "http://repo.powerdns.com/#{node['platform']}"
3838
distribution "#{node['lsb']['codename']}-auth-#{new_resource.series}"
39-
arch 'amd64'
4039
components ['main']
4140
key 'powerdns.asc'
4241
cookbook 'pdns'

resources/authoritative_install_rhel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
end
2424

2525
property :version, String
26-
property :series, String, default: '48'
26+
property :series, String, default: '49'
2727
property :debug, [true, false], default: false
2828
property :allow_upgrade, [true, false], default: false
2929
property :backends, Array

resources/recursor_install_debian.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
node['platform_version'].to_i >= 9
2727
end
2828

29-
property :series, String, default: '48'
29+
property :series, String, default: '50'
3030
property :version, String
3131
property :debug, [true, false], default: false
3232
property :allow_upgrade, [true, false], default: false
@@ -35,7 +35,6 @@
3535
apt_repository 'powerdns-recursor' do
3636
uri "http://repo.powerdns.com/#{node['platform']}"
3737
distribution "#{node['lsb']['codename']}-rec-#{new_resource.series}"
38-
arch 'amd64'
3938
components ['main']
4039
key 'powerdns.asc'
4140
cookbook 'pdns'

resources/recursor_install_rhel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
end
2424

2525
property :version, String
26-
property :series, String, default: '48'
26+
property :series, String, default: '50'
2727
property :debug, [true, false], default: false
2828
property :allow_upgrade, [true, false], default: false
2929

test/cookbooks/pdns_test/recipes/authoritative_install_single_postgres.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
include_recipe 'pdns_test::disable_systemd_resolved'
4646

4747
pdns_authoritative_install 'default' do
48-
series '48'
48+
series '49'
4949
backends [pg_backend_package]
5050
allow_upgrade true
5151
end

test/integration/authoritative-multi/default_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
end
2828

2929
describe command('dig -p 53 chaos txt version.bind @127.0.0.1 +short') do
30-
its('stdout.chomp') { should match(/"PowerDNS Authoritative Server 4\.8\.\d/) }
30+
its('stdout.chomp') { should match(/"PowerDNS Authoritative Server 4\.9\.\d/) }
3131
end
3232

3333
describe command('dig -p 54 chaos txt version.bind @127.0.0.1 +short') do
34-
its('stdout.chomp') { should match(/"PowerDNS Authoritative Server 4\.8\.\d/) }
34+
its('stdout.chomp') { should match(/"PowerDNS Authoritative Server 4\.9\.\d/) }
3535
end

0 commit comments

Comments
 (0)