Niels Abspoel
5bed5368e2
updated minion _defaults.conf to version 2014.7
10 anni fa
Raphaël Hertzog
d4ae38f825
Import the salt/formulas.jinja template with context
This is only needed for salt versions older than 2014.7 that do not
define the global "salt" variable in such context.
10 anni fa
Raphaël Hertzog
445108f87a
Avoid “set salt” jinja calls that mask the usual salt variable
Most include do not expect salt to be something else than the usual salt
variable giving access to all the salt modules. Instead we use cfg_salt.
And for consistency we rename the master/minion variables to
cfg_master/cfg_minion too.
10 anni fa
Raphaël Hertzog
8a828b506e
Use items() method instead of iteritems() for Python 3 compatibility
In Python 3, dict.items() is already an iterator while dict.iteritems() no
longer exits. In Python 2, dict.items() is not an iterator but it works
and the small performance hit doesn't really matter for the salt config
pillar data which is really small.
10 anni fa
Raphaël Hertzog
f46b4f29d8
Add new “salt.formulas” state to manage salt formulas
This state downloads formulas from git repositories and ensures
that they are recorded in the file_roots setting.
10 anni fa
Raphaël Hertzog
b93ec22244
Add a “salt.standalone” state
10 anni fa
Niels Abspoel
af7f9d722a
more improvements in _defaults.conf
better newlines with iterations.
10 anni fa
Niels Abspoel
4b0ec5dc01
Improved jinja spacing in template
This will make the _defaults.conf file for master and minion
better by removing some empty lines in some code blocks
10 anni fa
Niels Abspoel
7da141721b
fix spacing with gitfs.
Updated gitfs jinja, to mirror master file
10 anni fa
Niels Abspoel
ef4bc1a25a
Added support for salt minion gitfs
Gitfs for the minion is possible with salt 2014.7
Updated config _defaults.conf and pillar with example
Tested it on Archlinux with salt-call --local state.highstate
10 anni fa
Andrew Vant
00e245e20a
Added recursive management of minion.d and master.d.
This allows users to easily add configuration settings that the formula
doesn't yet provide, without having to modify the existing templates.
10 anni fa
Johannes
791025e065
Avoid config key clashes
Fixes #48
10 anni fa
Wes Turner
bc7ccedf45
Fix nested file,pillar _roots in minion and master templates
See #37 "Fixed file_roots config generation with several environment"
10 anni fa
Oleg Tsarev
e3b2ebeb06
Actualized master and minion config files templates
11 anni fa
tiger-seo
f4b839a4fb
sync with https://github.com/saltstack/salt/blob/v0.17.4/conf/master and minion
11 anni fa
Kenneth Wilke
9404ebf915
Added module_config section to minion template
11 anni fa
Justin Phelps
6282d9570c
Corrected the typo for the minion configuration file.
11 anni fa
Kenneth Wilke
a6667cdb81
Isolated package mapping and some fixes
Moved package_table to it's own file, imported by sls files
Moved minion package under watch
Fixed some template mistakes I made
11 anni fa
Kenneth Wilke
2420b85913
overhauled minion template
11 anni fa
Thomas S Hatch
fa29decc39
Move into salt subdir
11 anni fa
Antoine Cezar
c7af1d12a1
Add minion's include configurability
11 anni fa
Colton Myers
46652ebfda
Move everything to root directory for submodule use, Fix #4
11 anni fa
Antoine Cezar
0c394abad1
Add minion managed file
11 anni fa