Imran Iqbal
d00c069e25
fix(gentoo): use `retry_options` to avoid spurious service failures
Use the `retry_options` on Gentoo, similar to how its already being used
across the state files for FreeBSD, since we're getting failures such as
this one:
* https://gitlab.com/myii/salt-formula/-/jobs/2285180374
vor 2 Jahren
Imran Iqbal
698b7eae59
fix(freebsd): use `retry_options` to avoid spurious service failures
Use the `retry_options` already being used for the Salt minion service,
since we're getting failures such as this one:
* https://github.com/myii/salt-formula/runs/2415072504
This is made worse by the fact that GitHub Actions cannot re-run a
single job (at the current time).
vor 3 Jahren
Heinz Wiesinger
02fbcd43fc
fix(api): remove spurious colon in salt.api state
vor 4 Jahren
cristi
29ffd68d34
feat(mapping): better control of the service's state
Instead of the default service.running + enabled, you can control
the actual state, via pillar.
And you can even say 'state = ignore' and no state will be generated
to control the service
vor 4 Jahren
Iustina
6027df00a4
Add configuration for packages version
vor 7 Jahren
John Kristensen
43663fec1b
Have salt-api service watch the master config files
The salt-api service is configured using the master config files but is
not restarted when the master is restarted. We need the salt-api service
to watch the master config files to ensure that any config changes are
picked up.
vor 8 Jahren
Simon Lloyd
02f7b279a1
Only watch salt-api package if install_packages=true
Also watch salt-api pkg instead of salt-master one.
vor 9 Jahren
Matthew X. Economou
c014015e79
Configure the salt-api service to start at boot time
vor 9 Jahren
Brian Jackson
4c1f57792a
Revert "Advance sal/api.sls, install rest_cherrypy or rest_tornado from pip."
This reverts commit 7bb82b0178
.
vor 9 Jahren
Brian Jackson
6e98d508c4
Revert "Fix salt/api.sls."
This reverts commit 8a1b8dc9db
.
vor 9 Jahren
Brian Jackson
d216a3f651
Revert "Install cherrypy/tornado from pip only if use_pip is True."
This reverts commit 90282eff03
.
vor 9 Jahren
Brian Jackson
8448aa4021
Revert "Fix stuff suggested by @iggy."
This reverts commit c5ae289fa1
.
vor 9 Jahren
Brian Jackson
f9cb912a65
Revert "salt.api state fails"
This reverts commit 22b8dde1ff
.
vor 9 Jahren
Marco Orovecchia
22b8dde1ff
salt.api state fails
Seems there are several colons missing for salt.api to work correctly, hope I found all of them
vor 9 Jahren
René Jochum
c5ae289fa1
Fix stuff suggested by @iggy .
Signed-off-by: René Jochum <rene@jochums.at>
vor 9 Jahren
René Jochum
90282eff03
Install cherrypy/tornado from pip only if use_pip is True.
Signed-off-by: René Jochum <rene@jochums.at>
vor 9 Jahren
René Jochum
8a1b8dc9db
Fix salt/api.sls.
Signed-off-by: René Jochum <rene@jochums.at>
vor 9 Jahren
René Jochum
7bb82b0178
Advance sal/api.sls, install rest_cherrypy or rest_tornado from pip.
Signed-off-by: René Jochum <rene@jochums.at>
vor 9 Jahren
Niels Abspoel
9ae8a4d746
Fix recursion in api.service
vor 9 Jahren
Brian Jackson
924c04c0d8
Add setting to not install packages
If you are installing Salt via git/pip, the formula will try to overwrite your
install with packaged versions. This setting makes it possible to avoid that.
vor 9 Jahren
Brian Jackson
cb3aa80c62
Don't overwrite salt variable
Using a variable named salt is a bad idea when salt already has a variable
named salt.
vor 9 Jahren
Niels Abspoel
5785091305
Added salt-api support
vor 9 Jahren