Skip to content

Instantly share code, notes, and snippets.

@jerith
Created January 15, 2016 12:28
Show Gist options
  • Select an option

  • Save jerith/2cc22ea6fde217efbf68 to your computer and use it in GitHub Desktop.

Select an option

Save jerith/2cc22ea6fde217efbf68 to your computer and use it in GitHub Desktop.
diff --git a/manifests/worker.pp b/manifests/worker.pp
index 3cf8e4d..32f95f8 100644
--- a/manifests/worker.pp
+++ b/manifests/worker.pp
@@ -202,7 +202,7 @@ class seed_stack::worker (
# dnsmasq to serve DNS requests, sending requests for the Consul domain to
# Consul
- if ! controller {
+ if ! $controller_worker {
$dnsmasq_server = inline_template('<%= @consul_domain.chop() %>') # Remove trailing '.'
package { 'dnsmasq': }
~>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment