Ales Komarek
e7844d1043
Orchestrates and reactors
Change-Id: I9e48e113656dd9f1ce644e98650276b36e444009
7 years ago
Kirill Bespalov
de89ff12b9
[salt.minion.cert] Improve certificates management
1. Remove implicit creation of "local_trusted_symlink".
To install a system-wide certificates the linux.system.cert
state or 'trusted_ca_minion' option must be used.
2. A ca-cert file may exist on a file-system and
not be pulled from mine. So, in this case
the following state be incorrect:
- watch:
- x509: ca_file
To support this case, we need to replace `watch` statement
with `watch_in`.
Change-Id: If41d050b56913d72da1ef7981f30780fec5d6d95
7 years ago
Ales Komarek
5c58de3f46
Salt orchestrate pipeline stars based on reactor triggers
Change-Id: I3f8ada34bf7e6e356bf6805d98eb0fa4bd66d8d3
7 years ago
Filip Pytloun
967802b076
Merge pull request #51 from salt-formulas/meta
Salt master service name
7 years ago
Ales Komarek
25e7f7c955
Salt master service name
Change-Id: If674097ad41df6118ffede78e02d143d5b8c9e6d
7 years ago
Ales Komarek
c63f4b1c16
Merge "proxy_minion fix"
7 years ago
Jiri Broulik
5ebdfcebfd
proxy_minion fix
Change-Id: Ie6cf0a8361524b594b60119b25f6d336b6797ece
7 years ago
Filip Pytloun
179553f6de
Merge pull request #50 from salt-formulas/doc/update-readme-tursted-ca-minions
Update readme trusted_ca_minions
7 years ago
Petr Michalec
56066ac642
Update readme trusted_ca_minions
7 years ago
Filip Pytloun
7d648874b0
Revert "Fix salt.minion.cert CA certs generation"
This reverts commit 6b2a592dc9
.
7 years ago
Filip Pytloun
ea842b65c3
Merge pull request #49 from salt-formulas/soa
SOA relations modeling
7 years ago
Ales Komarek
d1707346ad
SOA relations modeling
Change-Id: Icd6334902ca47d83ae263905d65ef91b8e6a7335
7 years ago
Kirill Bespalov
6b2a592dc9
Fix salt.minion.cert CA certs generation
1:
In case of trust_salt_ca usage, the salt.minion.cert state
generates broken certs body due to a space replacing:
-----BEGINCERTIFICATE-----
MIIFzzCCA7egAwIBAgIITiyuuFgl1S4wDQYJKoZIhvcNAQELBQAwSjELMAkGA1UE
BhMCY3oxFzAVBgNVBAMMDlNhbHQgT
....
To fix it the "x509.pem_managed" is used.
2:
If a symlink to CA cert is already exists, then the state is failing.
The force=True (replace) is used now to avoid the issue.
Change-Id: I4a2bd7c882e179560657a3dc7edf18c7e5835492
7 years ago
Jiri Broulik
8827524529
proxy_minion fix
Change-Id: I73a4a14734651f6483fae169a2290e9c5b377d76
7 years ago
Filip Pytloun
422b879308
Merge pull request #48 from salt-formulas/fix/ca_cert_render_issue
fix ca cert render indent issue
7 years ago
Petr Michalec
6bce131c39
fix ca cert render indent issue
7 years ago
Filip Pytloun
03d113e2dc
Merge pull request #47 from salt-formulas/fix/force_symlinks
formula, service symlinks. force/makedirs True
7 years ago
Petr Michalec
91e16770e8
formula, service symlinks. force/makedirs True
7 years ago
Filip Pytloun
f68dd4e4be
Merge pull request #46 from salt-formulas/pr/fix/install_formulas_fix
version to be specified for salt formula
7 years ago
Petr Michalec
7a2f1d281c
version to be specified for salt formula
7 years ago
Ales Komarek
5474068a16
Reactor system, documentation fixes
Change-Id: Ic64656c6fc3d4f561226d884b8bfb535dd537e14
7 years ago
Filip Pytloun
3e2e49be43
Merge pull request #43 from salt-formulas/pr/fix/ca_cert_whitespaces
fix prepending whitespaces starting 2nd line
7 years ago
Filip Pytloun
95ccd0894d
Add lost break into while true loop
Change-Id: I7b4dc2001e07b047964f4ebbbbe0b23db7819566
7 years ago
Tomáš Kukrál
6f6e7965ce
fix meta/salt with missing pillar
Change-Id: I484f7156dc82ca528307857f41018f4048467f78
7 years ago
Jakub Josef
c37c16de31
Merge "Restart salt-minion on config change"
7 years ago
Filip Pytloun
5700aa5a67
Restart salt-minion on config change
Change-Id: Ie1f1397817b47f299107e4f44dfb4c5ffe1c010c
7 years ago
Tomáš Kukrál
044667bcce
set state_output to "changes"
Terse output is not enough for debugging.
Change-Id: Ida9a4ef0a2ad053fc370d3833d716d9e8d38d814
7 years ago
Tomáš Kukrál
8922aef95b
configure state_output
This option can configure default output of state calls. Terse (default
option) will make each call to be on single line and make salt output
better.
Change-Id: Id0987561e34a84fb26a796729d6ab3de3b9ae8e5
7 years ago
Filip Pytloun
8797b20780
Manage minion.d using support metadata
Change-Id: I6f1292779858c45f9cf6f4caf3657ee000b2cf06
7 years ago
Petr Michalec
1a056d59f3
Fix pedantic syntax of the state file
7 years ago
Jenkins
4c54883d5c
Merge remote-tracking branch 'target/master'
7 years ago
Petr Michalec
2029d6b0fe
Merge pull request #44 from noskovao/patch-1
Update virt.sls
7 years ago
Tomáš Kukrál
5381187ddc
update packages for centos
Change-Id: I2b8ee84718e10d6261f1c93ca02ff4b60977e37f
7 years ago
Filip Pytloun
bc5fce96cb
Merge "Use forward dependency for ca_file instead of reverse one"
7 years ago
Alexander Noskov
cdc61890fd
Update virt.sls
Add ability to specify custom node name in reclass.
7 years ago
Petr Michalec
03e5362f09
fix prepending whitespaces starting 2nd line
7 years ago
Petr Michalec
33715ac136
Merge pull request #42 from salt-formulas/pr/fix_minion_proxy_device
minor, lint/syntax
7 years ago
Petr Michalec
0218e6e29f
minor, lint/syntax
7 years ago
Aleš Komárek
4ec591cf9b
Merge pull request #41 from salt-formulas/pr/fix_minion_proxy_device
fix minion proxy, if devices not defined
7 years ago
Petr Michalec
e0d1980267
fix minion proxy, if devices not defined
7 years ago
Filip Pytloun
70798fd4df
Manage grains using support metadata
Change-Id: I1e1269268a81d8cd01b5fe9328f63e8bf85e941b
7 years ago
Yuriy Taraday
19054adce5
Use forward dependency for ca_file instead of reverse one
We can have this failing because of bad mine data:
salt['mine.get'](cert.host, 'x509.get_pem_entries')
Without this change, dependency between salt_minion_cert_*_all and
ca_file is just ignored and salt_minion_cert_*_all state fails because
it can't find appropriate file.
Change-Id: I2a5dd12e08159bf110ff0d9879ebf0ad5d9d97c1
7 years ago
Jiri Broulik
a0f4668a04
salt-proxy
Change-Id: I2aba1213b1dda46aee929b8ea583c41316e3eb0b
7 years ago
Petr Michalec
05ff41020c
Merge pull request #40 from salt-formulas/pr/fix/tests_minion_pki_cert
fix make test in tests_minion_pki_cert
7 years ago
Petr Michalec
0f6c4718cf
fix make test in tests_minion_pki_cert
7 years ago
Filip Pytloun
5eb6f12d45
Merge pull request #39 from salt-formulas/pr/fix_salt_ca_trust
fix, ca crt rollout for trusted_ca_minions
7 years ago
Petr Michalec
64e7e680f2
fix, ca crt rollout for trusted_ca_minions
7 years ago
Filip Pytloun
b6b945b88e
Merge pull request #38 from salt-formulas/pr/retry_dns_sm_failover
retry_dns 0 for failover setup
7 years ago
Filip Pytloun
8a3fbe9cb5
Merge pull request #29 from salt-formulas/collect-salt-ca
collect salt-ca and set trust [WIP]
7 years ago
Petr Michalec
b368eb750f
retry_dns 0 for failover setup
7 years ago