We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6086c0 + 58c8eb2 commit adabb9cCopy full SHA for adabb9c
manifests/repo.pp
@@ -2,8 +2,8 @@
2
class powerdns::repo inherits powerdns {
3
# The repositories of PowerDNS use a version such as '40' for version 4.0
4
# and 41 for version 4.1.
5
- $authoritative_short_version = regsubst($powerdns::authoritative_version, /^(\d)\.(\d)$/, '\\1\\2', 'G')
6
- $recursor_short_version = regsubst($powerdns::recursor_version, /^(\d)\.(\d)$/, '\\1\\2', 'G')
+ $authoritative_short_version = regsubst($powerdns::authoritative_version, /^(\d+)\.(\d+)(?:\.\d+)?$/, '\\1\\2', 'G')
+ $recursor_short_version = regsubst($powerdns::recursor_version, /^(\d+)\.(\d+)(?:\.\d+)?$/, '\\1\\2', 'G')
7
8
case $facts['os']['family'] {
9
'RedHat': {
0 commit comments