-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce default distribution config
With this commit we introduce the notion of a default distribution. It allows us to specify either a basic or trial license for the default distribution without explicitly enabling modules. We can still enable modules explicitly like Security or ML and for backwards-compability reasons we will default to a trial license if the user did not specify anything. As a breaking change we we will now avoid disabling any modules implicitly but rather keep the defaults and let users explicitly enable modules if needed. We do not introduce mixin configurations to disable modules but if needed users can do this by specifying the respective values via `--car-params`. Relates #6
- Loading branch information
1 parent
6ae0985
commit aecf6fb
Showing
9 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[meta] | ||
description = Basic License | ||
type = mixin | ||
|
||
[config] | ||
base = default_distro | ||
|
||
[variables] | ||
license_type = basic |
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
xpack.license.self_generated.type: {{license_type|default('trial')}} | ||
|
||
{%- if xpack_ml_enabled is defined %} | ||
xpack.ml.enabled: {{xpack_ml_enabled}} | ||
{%- endif %} | ||
{%- if xpack_monitoring_enabled is defined %} | ||
xpack.monitoring.enabled: {{xpack_monitoring_enabled}} | ||
{%- endif %} | ||
{%- if xpack_security_enabled is defined %} | ||
xpack.security.enabled: {{xpack_security_enabled}} | ||
{%- endif %} | ||
{%- if xpack_watcher_enabled is defined %} | ||
xpack.watcher.enabled: {{xpack_watcher_enabled}} | ||
{%- endif %} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[meta] | ||
description = Trial License | ||
type = mixin | ||
|
||
[config] | ||
base = default_distro | ||
|
||
[variables] | ||
license_type = trial |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.