From 342e4924a7c334aa4e5fe98a982e2031b64e51a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Sat, 2 Oct 2021 18:12:42 -1000 Subject: [PATCH] Add support for Debian 11 and FreeBSD 13 --- data/os/Debian/11.yaml | 3 +++ metadata.json | 6 ++++-- spec/classes/plugin/dns_rfc2136_spec.rb | 2 +- spec/classes/plugin/dns_route53_spec.rb | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 data/os/Debian/11.yaml diff --git a/data/os/Debian/11.yaml b/data/os/Debian/11.yaml new file mode 100644 index 00000000..d0641b25 --- /dev/null +++ b/data/os/Debian/11.yaml @@ -0,0 +1,3 @@ +--- +letsencrypt::plugin::dns_rfc2136::package_name: 'python3-certbot-dns-rfc2136' +letsencrypt::plugin::dns_route53::package_name: 'python3-certbot-dns-route53' diff --git a/metadata.json b/metadata.json index be6f93a6..4128533e 100644 --- a/metadata.json +++ b/metadata.json @@ -42,7 +42,8 @@ { "operatingsystem": "Debian", "operatingsystemrelease": [ - "10" + "10", + "11" ] }, { @@ -54,7 +55,8 @@ { "operatingsystem": "FreeBSD", "operatingsystemrelease": [ - "12" + "12", + "13" ] } ], diff --git a/spec/classes/plugin/dns_rfc2136_spec.rb b/spec/classes/plugin/dns_rfc2136_spec.rb index 240d9aff..28885eea 100644 --- a/spec/classes/plugin/dns_rfc2136_spec.rb +++ b/spec/classes/plugin/dns_rfc2136_spec.rb @@ -17,7 +17,7 @@ class { 'letsencrypt': osrelease = facts[:os]['release']['major'] osfull = "#{osname}-#{osrelease}" case osfull - when 'Debian-10', 'Ubuntu-20.04', 'Ubuntu-18.04', 'Fedora-30', 'Fedora-31' + when 'Debian-10', 'Debian-11', 'Ubuntu-20.04', 'Ubuntu-18.04', 'Fedora-30', 'Fedora-31' 'python3-certbot-dns-rfc2136' when 'RedHat-7', 'CentOS-7' 'python2-certbot-dns-rfc2136' diff --git a/spec/classes/plugin/dns_route53_spec.rb b/spec/classes/plugin/dns_route53_spec.rb index 84957a15..ec88d5da 100644 --- a/spec/classes/plugin/dns_route53_spec.rb +++ b/spec/classes/plugin/dns_route53_spec.rb @@ -17,7 +17,7 @@ class { 'letsencrypt': osrelease = facts[:os]['release']['major'] osfull = "#{osname}-#{osrelease}" case osfull - when 'Debian-10', 'Ubuntu-20.04', 'Ubuntu-18.04', 'Fedora-30', 'Fedora-31' + when 'Debian-10', 'Debian-11', 'Ubuntu-20.04', 'Ubuntu-18.04', 'Fedora-30', 'Fedora-31' 'python3-certbot-dns-route53' when 'RedHat-7', 'CentOS-7' 'python2-certbot-dns-route53'