gpg.conf 415 B

1234567891011121314151617
  1. {% set dirs = salt['pillar.get']("monitoring:checks:check_gpg_expiry:paths", []) %}
  2. apply Service "check_gpg_expiry" {
  3. import "generic-service"
  4. display_name = "GPG Expiry"
  5. check_command = "check_gpg_expiry"
  6. check_interval = 24h
  7. command_endpoint = host.name
  8. vars.gpg_directory = ["{{ dirs|join('\", \"') }}"]
  9. vars.gpg_verbose = true
  10. vars.gpg_sort = true
  11. assign where "salt-master" in host.vars.roles
  12. }