Merge pull request #3858 from hashicorp/enterprise-defaults
Add enterprise default config section
This commit is contained in:
commit
e6f84e783c
|
@ -125,7 +125,7 @@ func NewBuilder(flags Flags) (*Builder, error) {
|
|||
Data: s,
|
||||
})
|
||||
}
|
||||
b.Tail = append(b.Tail, NonUserSource(), DefaultConsulSource(), DefaultVersionSource())
|
||||
b.Tail = append(b.Tail, NonUserSource(), DefaultConsulSource(), DefaultEnterpriseSource(), DefaultVersionSource())
|
||||
if b.boolVal(b.Flags.DevMode) {
|
||||
b.Tail = append(b.Tail, DevConsulSource())
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// +build !ent
|
||||
|
||||
package config
|
||||
|
||||
// DefaultEnterpriseSource returns the consul agent configuration for the enterprise mode.
|
||||
// This should be merged in the tail after the DefaultConsulSource.
|
||||
func DefaultEnterpriseSource() Source {
|
||||
return Source{
|
||||
Name: "enterprise",
|
||||
Format: "hcl",
|
||||
Data: ``,
|
||||
}
|
||||
}
|
|
@ -881,7 +881,8 @@ Consul will not enable TLS for the HTTP API unless the `https` port has been ass
|
|||
0.8 the default was changed to true, to make remote exec opt-in instead of opt-out.
|
||||
|
||||
* <a name="disable_update_check"></a><a href="#disable_update_check">`disable_update_check`</a>
|
||||
Disables automatic checking for security bulletins and new version releases.
|
||||
Disables automatic checking for security bulletins and new version releases. This is disabled in
|
||||
Consul Enterprise.
|
||||
|
||||
* <a name="discard_check_output"></a><a href="#discard_check_output">`discard_check_output`</a>
|
||||
Discards the output of health checks before storing them. This reduces the number of writes
|
||||
|
|
Loading…
Reference in New Issue