Skip to content

Commit 7b40f2e

Browse files
committed
remove code related to EOL Debian/Ubuntu releases
1 parent a6086c0 commit 7b40f2e

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

manifests/params.pp

+1-26
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,7 @@
5656
$recursor_service = 'pdns-recursor'
5757
$recursor_dir = '/etc/powerdns'
5858
$recursor_config = "${recursor_dir}/recursor.conf"
59-
60-
case $facts['os']['name'] {
61-
'Debian': {
62-
case $facts['os']['release']['major'] {
63-
'8': {
64-
$install_packages = []
65-
}
66-
default: {
67-
$install_packages = ['dirmngr']
68-
}
69-
}
70-
}
71-
'Ubuntu': {
72-
case $facts['os']['release']['major'] {
73-
'16.04': {
74-
$install_packages = []
75-
}
76-
default: {
77-
$install_packages = ['dirmngr']
78-
}
79-
}
80-
}
81-
default: {
82-
$install_packages = []
83-
}
84-
}
59+
$install_packages = ['dirmngr']
8560
}
8661
'FreeBSD': {
8762
$authoritative_package = 'powerdns'

0 commit comments

Comments
 (0)