Skip to content

Commit

Permalink
Merge pull request #140 from schlitzered/Issue_113
Browse files Browse the repository at this point in the history
fix Issue 113
  • Loading branch information
bastelfreak committed Feb 24, 2020
2 parents e360aab + 4d5c3b3 commit e12a161
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manifests/resolved.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# Takes a boolean argument or "opportunistic" or "no"
#
# @param cache
# Takes a boolean argument.
# Takes a boolean argument or "no-negative".
#
# @param dns_stub_listener
# Takes a boolean argument or one of "udp" and "tcp".
Expand All @@ -53,7 +53,7 @@
Optional[Variant[Boolean,Enum['resolve']]] $multicast_dns = $systemd::multicast_dns,
Optional[Variant[Boolean,Enum['allow-downgrade']]] $dnssec = $systemd::dnssec,
Optional[Variant[Boolean,Enum['opportunistic', 'no']]] $dnsovertls = $systemd::dnsovertls,
Boolean $cache = $systemd::cache,
Optional[Variant[Boolean,Enum['no-negative']]] $cache = $systemd::cache,
Optional[Variant[Boolean,Enum['udp', 'tcp']]] $dns_stub_listener = $systemd::dns_stub_listener,
Boolean $use_stub_resolver = $systemd::use_stub_resolver,
){
Expand Down Expand Up @@ -200,6 +200,7 @@
$_cache = $cache ? {
true => 'yes',
false => 'no',
default => $cache,
}

if $cache {
Expand Down

0 comments on commit e12a161

Please sign in to comment.