salt.modules.chronos
Module providing a simple management interface to a chronos cluster.
Currently this only works when run through a proxy minion.
New in version 2015.8.2.
-
Return whether the given job is currently configured.
CLI Example:
salt chronos-minion-id chronos.has_job my-job
salt.modules.chronos.has_job(name)
-
Return the current server configuration for the specified job.
CLI Example:
salt chronos-minion-id chronos.job my-job
salt.modules.chronos.job(name)
-
Return a list of the currently installed job names.
CLI Example:
salt chronos-minion-id chronos.jobs
salt.modules.chronos.jobs()
-
Remove the specified job from the server.
CLI Example:
salt chronos-minion-id chronos.rm_job my-job
salt.modules.chronos.rm_job(name)
-
Update the specified job with the given configuration.
CLI Example:
salt chronos-minion-id chronos.update_job my-job '<config yaml>'
salt.modules.chronos.update_job(name, config)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.chronos.html