Skip to content

Instantly share code, notes, and snippets.

@spidernik84
Created April 24, 2015 09:02
Show Gist options
  • Select an option

  • Save spidernik84/42a363fadeca627dc993 to your computer and use it in GitHub Desktop.

Select an option

Save spidernik84/42a363fadeca627dc993 to your computer and use it in GitHub Desktop.
***nodefile:***
node 'mynode' {
include roles::infra_dns_microsite_resolver
$unbound_listen_interface1 = "1.2.3.4"
...
*** role ***
class roles::infra_dns_microsite_resolver inherits roles::coreinfra {
include profiles::infra_dns_microsite_resolver
}
*** profile ***
class profiles::infra_dns_microsite_resolver {
include unboundresolver
}
*** unbound module template file ***
server:
verbosity: 1
interface: <%= unbound_listen_interface1 %>@<%= unbound_listen_port1 %>
interface: <%= unbound_listen_interface2 %>@<%= unbound_listen_port2 %>
interface: <%= unbound_listen_interface3 %>@<%= unbound_listen_port2 %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment