Created
January 15, 2016 12:28
-
-
Save jerith/2cc22ea6fde217efbf68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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