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