Commit Graph

26 Commits

Author SHA1 Message Date
Carlos Álvaro
350684ed9b feat(salt-api): Add SALT_API_CERT_CN env variable
Use this environment variable in order to set the salt-api certificatescommon name.
2021-10-31 11:30:27 +01:00
Carlos Álvaro
b51c818742 fix: Redirect output to stderr with log_error 2021-02-26 07:39:56 +01:00
Carlos Álvaro
a277e05c88 fix: Change certificates ownership 2020-11-03 20:30:36 +01:00
Kidswiss
0bfd361155 Ignore chown errors (#47)
If any files are mounted from k8s secrets the chown commands will fail
due to the fact that these files will only be read-only.

This commit ignores any errors during the chown commands.

Co-authored-by: Simon Beck <simon.beck@earthnet.ch>
Co-authored-by: Carlos D. Álvaro <github@cdalvaro.io>
2020-11-03 11:02:59 +01:00
Carlos Álvaro
5ea32b07a7 fix: Prevents salt-api user creation if already exists 2020-06-02 18:48:00 +02:00
Carlos Álvaro
894fd50255 feat: Add support for local third party formulas 2020-05-23 19:43:47 +02:00
Carlos Álvaro
eb67fff397 feat: Add salt-api to logrotate settings 2020-05-17 12:09:57 +02:00
Carlos Álvaro
3f019825ef feat: Add exceptions for shellcheck 2020-05-16 21:42:49 +02:00
Carlos Álvaro
0ea143d898 feat: Add salt-api support 2020-05-16 18:15:58 +02:00
Carlos Álvaro
b33e12a647 Bugfix selecting salt logs for logrotate 2019-01-06 13:08:24 +01:00
Carlos Álvaro
855589c19e Remove warning passing arguments to find 2019-01-06 13:08:03 +01:00
Carlos Álvaro
1b02e23102 Remove logrotate salt-common configuration 2018-12-27 20:15:18 +01:00
Carlos Álvaro
74431312d6 Bugfix when keys/minions directory did not exist
Addressed a bug that caused the container to crash
when `/home/salt/data/keys/minions` was not present

Issue #9
2018-12-19 22:21:34 +01:00
Carlos Álvaro
f0bbbdcb33 Add support for logrotate and supervisor
Issue #9
2018-12-19 22:19:57 +01:00
Carlos Álvaro
cabb92cbf7 Add support for setting timezone 2018-11-12 09:45:57 +01:00
Carlos Álvaro
e7c8dc1167 Improve salt-master configuration 2018-11-12 09:45:04 +01:00
Carlos Álvaro
886c85e1a3 Run salt-master as salt user 2018-11-09 23:44:16 +01:00
Carlos Álvaro
4a2ac950b5 Expose logs directory
Now logs can be accessed through /home/salt/data/logs
2018-11-09 23:38:20 +01:00
Carlos Álvaro
c488f305cd Improve ssh configuration 2018-11-09 23:34:40 +01:00
Carlos Álvaro
2f701fbef8 Add support for pygit2 2018-11-07 22:42:56 +01:00
Carlos Álvaro
72e24b2aa4 Add support for gitfs with GitPython 2018-11-03 10:30:29 +01:00
Carlos Álvaro
911b6566d6 Add /home/salt/data/srv to /srv symlink 2018-10-19 20:09:05 +02:00
Carlos Álvaro
8bf6edc229 Add support for mapping user uid/gid 2018-10-03 20:14:54 +02:00
Carlos Álvaro
7ec9b84a9b Add support for using signed keys 2018-10-01 00:31:12 +02:00
Carlos
47f61842e8 Add support for editing master configuration 2018-09-24 21:40:37 +02:00
Carlos
a41e5bc976 Initial commit 2018-09-23 18:55:20 +02:00