salt.modules.chronos module

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.

salt.modules.chronos.has_job(name)

Return whether the given job is currently configured.

CLI Example:

salt chronos-minion-id chronos.has_job my-job
salt.modules.chronos.job(name)

Return the current server configuration for the specified job.

CLI Example:

salt chronos-minion-id chronos.job my-job
salt.modules.chronos.jobs()

Return a list of the currently installed job names.

CLI Example:

salt chronos-minion-id chronos.jobs
salt.modules.chronos.rm_job(name)

Remove the specified job from the server.

CLI Example:

salt chronos-minion-id chronos.rm_job my-job
salt.modules.chronos.update_job(name, config)

Update the specified job with the given configuration.

CLI Example:

salt chronos-minion-id chronos.update_job my-job '<config yaml>'