Project

General

Profile

« Previous | Next » 

Revision 3cf2f14e

Added by Ewoud Kohl van Wijngaarden about 7 years ago

Make nsupdate dns_key optional

Closes GH-180

View differences:

templates/dns_nsupdate.yml.erb
# Configuration file for 'nsupdate' dns provider
#
<% unless [nil, :undefined, :undef, ''].include?(scope.lookupvar("foreman_proxy::keyfile")) -%>
:dns_key: <%= scope.lookupvar("foreman_proxy::keyfile") %>
<% else -%>
#:dns_key: /etc/rndc.key
<% end -%>
# use this setting if you are managing a dns server which is not localhost though this proxy
:dns_server: <%= scope.lookupvar("foreman_proxy::dns_server") %>

Also available in: Unified diff