Skip to content

Commit

Permalink
changes resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Dec 3, 2019
1 parent 2fe04ea commit 57b269a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 0.2.14

* Added domains option to **systemd::resolved** - fixes [issue 186](https://github.com/NTTCom-MS/eyp-systemd/issues/168)
* Added Resolve section - fixes [issue 167](https://github.com/NTTCom-MS/eyp-systemd/issues/167)
* Allow multiple oncalendar for **systemd::timer** - thanks to [TuningYourCode](https://github.com/TuningYourCode) for this [PR-166](https://github.com/NTTCom-MS/eyp-systemd/pull/166)

## 0.2.13
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ Base class for refreshing systemd on demand
* **dns_stub_listener**: (default: true)
* **dnssec**: (default: false)
* **cache**: (default: true)
* **domains**: A space-separated list of domains. These domains are used as search suffixes when resolving single-label host names (default: [])

#### systemd::logind

Expand Down
1 change: 1 addition & 0 deletions manifests/resolved.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$dns_stub_listener = true,
$dnssec = false,
$cache = true,
$domains = [],
) inherits systemd::params {


Expand Down
7 changes: 6 additions & 1 deletion templates/resolved.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]

<% if @dns.any? -%>
DNS=<%= @dns.join(' ') %>
<% end -%>
<% if @fallback_dns.any? -%>
FallbackDNS=<%= @fallback_dns.join(' ') %>
<% end -%>
#Domains=
<% if @domains.any? -%>
Domains=<%= @domains.join(' ') %>
<% end -%>
#LLMNR=no
#MulticastDNS=no
DNSSEC=<%= scope.function_bool2yesno([@dnssec]) %>
Expand Down

0 comments on commit 57b269a

Please sign in to comment.