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
3 jaren geleden
Mark Ferrell
b1d296d270
feat: enable the metadata grains server by default
4 jaren geleden
Ryan Walder
042e9baad3
Add 'return' to reserved_keys in minion config
This prevents the `return` key being duplicated in the minion config by L1205
5 jaren geleden
Imran Iqbal
fbe814ace8
feat(`tofs`): allow TOFS for minion configuration
5 jaren geleden
Imran Iqbal
1b202afb29
feat(`tofs`): allow TOFS for master configuration
5 jaren geleden
Heinz Wiesinger
549c73c739
Fix support for extra config values as mappings
6 jaren geleden
Krzysztof Pawłowski
f43cc94362
Support fileserver_list_cache_time in master configuration
6 jaren geleden
Johannes Löthberg
ec33ba5fab
Add support for file external_auth special directives
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
6 jaren geleden
Alexandre Anriot
3e6e6028ae
Support publisher_acl minion-level commands
6 jaren geleden
Matthew Richardson
aff75ce8ac
Handle other non-iterable values like int/float.
6 jaren geleden
Matthew Richardson
1a5027ef8c
Handle pillar params with child params. ( #372 )
6 jaren geleden
Matthew Richardson
c363aa9e04
Handle extra config where value is a list.
6 jaren geleden
ze42
2761d90626
minion: master_alive_interval: remove duplicate ( #369 )
Remove commented version and associated comment, as we still have the same
option earlier in config with an other valid comment.
6 jaren geleden
Justin Riley
d2ceaab7dd
only set master_alive_interval once ( #368 )
closes #367
6 jaren geleden
Felix Russell
9f33d2afe1
[Minion] [returner] [Elasticsearch] Yaml read patch + example.pillar update ( #359 )
* Minion/returner/elasticsearch yaml read fix.
* Improved the documentation for the elasticsearch returner
6 jaren geleden
Jerzy Drozdz
d1e4768cdb
Quotation and ipv6 ( #355 )
* Added quotration around globing rules
6 jaren geleden
Niels Abspoel
3c731605cc
fix iteritems python3
6 jaren geleden
Stefan Reimer
e92f6f80b0
Fix default value to match array type of pillar
7 jaren geleden
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
7 jaren geleden
Andrew Ernst
9ef5335f7b
Update f_defaults.conf to support elasticsearch returner ( #335 )
Proposed pull request for elasticsearch returner in the minion.d/f_defaults.conf file
7 jaren geleden
Christian McHugh
d5c10f5600
fix indenting around peer run. Convert extra configs from json to yaml
7 jaren geleden
Elliot Chen
ec8241c6fd
Added minion scheduler configuration
7 jaren geleden
Javier Bértoli
b8273b9c3f
Fix lists join error ( #317 )
7 jaren geleden
Charles McLaughlin
3a261c7da0
Update comment for consistency
7 jaren geleden
Charles McLaughlin
316622ef9b
Remove "source" comments from Saltify configs
I use Salt environments to provide each of my team mates the ability to develop
and test their Salt changes. And I've found that when we run this formula from
our environments against our salt-master, comments in some files change. For us
this represents an unwanted and unplanned change. I understand the intention -
to identify how or why the file changed, but I firmly believe that we should
be able to run highstsate with test=True and only see intended changes. Here's
an example:
ID: salt-cloud-providers
Function: file.recurse
Name: /etc/salt/cloud.providers.d
Result: None
Comment: #### /etc/salt/cloud.providers.d/saltify.conf ####
The file /etc/salt/cloud.providers.d/saltify.conf is set to be changed
Started: 20:01:28.586441
Duration: 75.185 ms
Changes:
----------
/etc/salt/cloud.providers.d/saltify.conf:
----------
diff:
---
+++
@@ -1,4 +1,4 @@
-# This file is managed by Salt via salt://salt/files/cloud.providers.d/saltify.conf?saltenv=myenv
+# This file is managed by Salt via salt://salt/files/cloud.providers.d/saltify.conf?saltenv=dev
saltify:
provider: saltify
7 jaren geleden
Ion Dulgheru
165f2d727c
Fix master_tops configuration rendering
7 jaren geleden
Javier Bértoli
9331997269
Exclude reactors from f_defaults.conf
7 jaren geleden
Javier Bértoli
561eb4c5c8
Reactors should be in an array
7 jaren geleden
Javier Bértoli
442806ab9e
Allow to specify different reactors for minions and masters
7 jaren geleden
Heinz Wiesinger
68a2b72519
Fix rendering of external_auth config.
This now properly also supports per user, per minion as well as
function argument limiting.
7 jaren geleden
Gilles Dartiguelongue
87074cf3d9
Do not sync salt-cloud provided default configuration by default
As discussed in PR#305, these are defaults that even if they are
configurable as probably not suited to a majority of users and causes
delete/add output on highstate of user of the formula choses to use
the same file name.
7 jaren geleden
Javier Bértoli
7093a32968
Simplify logic
7 jaren geleden
Javier Bértoli
997194c992
Wrong list name in config file
7 jaren geleden
Javier Bértoli
edce95f949
Updated master and minion default config files
Added parameters new to 2016.03 (or simply missing in the existing config).
7 jaren geleden
Theo Chatzimichos
57498d1645
add syndic_user option in the master config
7 jaren geleden
Vitali Quiering
f7189e2900
User publisher_acl setting in salt master config even if used client_acl in
pillar (backwards compatibility)
7 jaren geleden
Vitali Quiering
894bd15c79
fix salt master config template to use external_auth settings
7 jaren geleden
Vitali Quiering
d3b46a3648
add publisher_acl to salt master config
7 jaren geleden
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.
7 jaren geleden
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
7 jaren geleden
risca
ef120e56bc
fixed key reserved for lxc_profile file
7 jaren geleden
Niels Abspoel
5ffed7de5c
fix beacons on dev
8 jaren geleden
Tobias Martin
fc40847542
fixed beacon variable name
8 jaren geleden
Tobias Martin
73906a03a5
added beacons configuration support
8 jaren geleden
Pavel Veretennikov
bad783ea28
Fixes jinja in include block
Some vars were missing {{ }}
Indentation was broken
isinstance is not available in Salt
8 jaren geleden
Niels Abspoel
caff23424d
fix default dict
8 jaren geleden
Furlot
45e686b7f2
Add http proxy support for minion
8 jaren geleden
Dafydd Jones
8e41067c69
allow non-default config settings in master.d/f_defaults.conf (similar to PR#247)
8 jaren geleden
genuss
8fd8c76d5f
Change default value for pillar_opts
8 jaren geleden
Rob Ruma
6f4880a258
Adding support for master_id option documented in https://docs.saltstack.com/en/latest/ref/configuration/master.html#master-id
8 jaren geleden