Robert Fairburn
5b7d7ea70e
fix(master): master.d template to support saltclass ext_pillar
pirms 3 gadiem
Adrien "ze" Urban
89cdcec595
fix: sort extra options in configuration
Ensure extra options in generated configuration is sorted, to ensure stable
configuration.
pirms 3 gadiem
Adrien "ze" Urban
b705e44378
fix(log_fmt_console): double option in config
When option was specified, it appeared twice in config, making configuration
file buggy, and not loaded.
pirms 3 gadiem
Dafydd Jones
a89fb3f4aa
fix: revert to using `is mapping` in Jinja2
* CVE-2021-25283 enables Jinja2 safe mode, which breaks use of
`'dict' in x.__class__.__name__` workaround
* Workaround no longer needed as CentOS 6 is EOL
pirms 3 gadiem
Krzysztof Pawłowski
f43cc94362
Support fileserver_list_cache_time in master configuration
pirms 6 gadiem
Johannes Löthberg
ec33ba5fab
Add support for file external_auth special directives
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
pirms 6 gadiem
Alexandre Anriot
3e6e6028ae
Support publisher_acl minion-level commands
pirms 6 gadiem
Matthew Richardson
1a5027ef8c
Handle pillar params with child params. ( #372 )
pirms 6 gadiem
Jerzy Drozdz
d1e4768cdb
Quotation and ipv6 ( #355 )
* Added quotration around globing rules
pirms 6 gadiem
Niels Abspoel
3c731605cc
fix iteritems python3
pirms 6 gadiem
Stefan Reimer
e92f6f80b0
Fix default value to match array type of pillar
pirms 7 gadiem
Stefan Reimer
334d5de72b
Support profiles within engine.conf to be able to configure sqs_events, https://docs.saltstack.com/en/latest/ref/engines/all/salt.engines.sqs_events.html
pirms 7 gadiem
Christian McHugh
d5c10f5600
fix indenting around peer run. Convert extra configs from json to yaml
pirms 7 gadiem
Javier Bértoli
b8273b9c3f
Fix lists join error ( #317 )
pirms 7 gadiem
Ion Dulgheru
165f2d727c
Fix master_tops configuration rendering
pirms 7 gadiem
Javier Bértoli
9331997269
Exclude reactors from f_defaults.conf
pirms 7 gadiem
Javier Bértoli
561eb4c5c8
Reactors should be in an array
pirms 7 gadiem
Javier Bértoli
442806ab9e
Allow to specify different reactors for minions and masters
pirms 7 gadiem
Heinz Wiesinger
68a2b72519
Fix rendering of external_auth config.
This now properly also supports per user, per minion as well as
function argument limiting.
pirms 7 gadiem
Javier Bértoli
7093a32968
Simplify logic
pirms 7 gadiem
Javier Bértoli
997194c992
Wrong list name in config file
pirms 7 gadiem
Javier Bértoli
edce95f949
Updated master and minion default config files
Added parameters new to 2016.03 (or simply missing in the existing config).
pirms 7 gadiem
Theo Chatzimichos
57498d1645
add syndic_user option in the master config
pirms 7 gadiem
Vitali Quiering
f7189e2900
User publisher_acl setting in salt master config even if used client_acl in
pillar (backwards compatibility)
pirms 7 gadiem
Vitali Quiering
894bd15c79
fix salt master config template to use external_auth settings
pirms 7 gadiem
Vitali Quiering
d3b46a3648
add publisher_acl to salt master config
pirms 7 gadiem
Florian Ermisch
e86e6fc221
Work around missing `is mapping` on CentOS/RHEL 6
Checks for 'dict' in `x.__class__.__name__` b/c
neither `type()` nor `isinstance()` is available.
pirms 7 gadiem
Florian Ermisch
5327e921fe
Hack to make rendering work on CentOS 6
!! Not tested with an actual !!
!! configured `ext_pillar` yet !!
- jinja on RHEL/CentOS 6 has no 'mapping'
test (see salt-formula issue #193 )
- {% do ... %} allows no assignment, only
function calls
- of course, `type(foo) is dict` doesn't
work because it's no jinja test
- maybe `.isinstance()` would be nicer/more
reliable
pirms 7 gadiem
risca
ef120e56bc
fixed key reserved for lxc_profile file
pirms 7 gadiem
Niels Abspoel
caff23424d
fix default dict
pirms 8 gadiem
Dafydd Jones
8e41067c69
allow non-default config settings in master.d/f_defaults.conf (similar to PR#247)
pirms 8 gadiem
genuss
8fd8c76d5f
Change default value for pillar_opts
pirms 8 gadiem
Rob Ruma
6f4880a258
Adding support for master_id option documented in https://docs.saltstack.com/en/latest/ref/configuration/master.html#master-id
pirms 8 gadiem
Marcin Witowski
9d0b6b03d8
fix typo for top_file_merging_strategy in salt/files/master.d/f_defaults.conf template
pirms 8 gadiem
carpenti
3098aebcad
add engines as a reserved_keys to not add generic configuration
pirms 8 gadiem
carpenti
08d10376ab
implementing retro-compatible behavior
Using the old salt.engines pillar and merging it with the new
salt.[master|minion].engines pillar.
This way, it doesn't break previous behavior and permits to define
common engines on master and minion.
In the merge, the salt.[master|minion].engines pillar takes precedence
if conflict as it's the more specific pillar.
pirms 8 gadiem
carpenti
c27bfd92b7
make the configuration of engines specific to master or minion
the engines are now configured using the following pillars:
* salt.master.engines
* salt.minion.engines
instead of a global salt.engines pillar.
Note: the pillar.example provided seems to assume this behaviour.
(the pillar is salt.master.engines.slack and not salt.engines.slack)
pirms 8 gadiem
Jeremy T. Bouse
79fcda8806
Clean up formating of nodegroups
pirms 8 gadiem
Jeremy T. Bouse
a89d8d9b6b
Add winrepo_provider to master.d/f_defaults.conf
pirms 8 gadiem
Krzysztof Pawłowski
776c5ecbe6
Add yaml_utf8 option to salt master configuration.
pirms 8 gadiem
Matthew X. Economou
12390494cf
Add support for s3fs
pirms 8 gadiem
Rene Jochum
6ae81a9640
Add support for mongodb connection settings to config templates.
Signed-off-by: Rene Jochum <rene@jochums.at>
pirms 8 gadiem
Rene Jochum
478fef683b
Remove trailing whitespaces in config templates.
Signed-off-by: Rene Jochum <rene@jochums.at>
pirms 8 gadiem
Raphaël Hertzog
182098fc16
JSON encode values embedded in the salt-master's configuration file
This avoids problems when values are strings containing colons. And it
mimicks what was already done for the salt-minion's configuration file.
Fixes #233 .
pirms 8 gadiem
risca
ca42d40ef9
added support for LXC profiles
pirms 8 gadiem
Christian McHugh
ac4ed62c03
Support engine configuration
pirms 8 gadiem
Brad Thurber
b9ae603fd7
Add support for master eauth LDAP config
pirms 8 gadiem
Brad Thurber
939aa37028
Cleanup and make closer to the PR submitted for the mainline salt repo master config file
pirms 8 gadiem
Brad Thurber
c4ef48c5e8
add new gitfs functionality
pirms 8 gadiem
Imran Iqbal
7f36259614
Remove excessive blank lines rendered after "Miscellaneous settings"
pirms 8 gadiem