You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,17 +87,17 @@ class { '::consul':
87
87
For more security options, consider leaving the `client_addr` set to `127.0.0.1`
88
88
and use with a reverse proxy:
89
89
```puppet
90
-
$aliases = ['consul', 'consul.example.com']
90
+
$aliases = ['consul', 'consul.example.com']
91
91
92
-
# Reverse proxy for Web interface
93
-
include 'nginx'
92
+
# Reverse proxy for Web interface
93
+
include 'nginx'
94
94
95
-
$server_names = [$::fqdn, $aliases]
95
+
$server_names = [$::fqdn, $aliases]
96
96
97
-
nginx::resource::vhost { $::fqdn:
98
-
proxy => 'http://localhost:8500',
99
-
server_name => $server_names,
100
-
}
97
+
nginx::resource::vhost { $::fqdn:
98
+
proxy => 'http://localhost:8500',
99
+
server_name => $server_names,
100
+
}
101
101
```
102
102
103
103
## Service Definition
@@ -156,7 +156,11 @@ You can also use `consul::checks` which accepts a hash of checks, and makes
156
156
it easy to declare in hiera.
157
157
158
158
## Removing Service, Check and Watch definitions
159
-
Do `ensure => absent` while removing existing service, check and watch definitions. This ensures consul will be reloaded via `SIGHUP`. If you have `purge_config_dir` set to `true` and simply remove the definition it will cause consul to restart.
159
+
160
+
Do `ensure => absent` while removing existing service, check and watch
161
+
definitions. This ensures consul will be reloaded via `SIGHUP`. If you have
162
+
`purge_config_dir` set to `true` and simply remove the definition it will cause
0 commit comments