Skip to content

Commit

Permalink
Allow additional option for $cache parameter
Browse files Browse the repository at this point in the history
Update the cache parameter on init class to match the allowed values for
resolved.
  • Loading branch information
bryangwilliam committed Jan 27, 2021
1 parent ea214da commit 0153a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# Takes a boolean argument or "opportunistic"
#
# @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 Down Expand Up @@ -98,7 +98,7 @@
Optional[Variant[Boolean,Enum['resolve']]] $multicast_dns,
Optional[Variant[Boolean,Enum['allow-downgrade']]] $dnssec,
Optional[Variant[Boolean,Enum['opportunistic', 'no']]] $dnsovertls,
Boolean $cache,
Optional[Variant[Boolean,Enum['no-negative']]] $cache,
Optional[Variant[Boolean,Enum['udp','tcp']]] $dns_stub_listener,
Boolean $use_stub_resolver,
Boolean $manage_networkd,
Expand Down

0 comments on commit 0153a21

Please sign in to comment.