icinga2.ssh_client
This commit is contained in:
@@ -19,6 +19,9 @@ restic-{{ name }}:
|
||||
- contents: {{ salt.mine.get(minion_id, 'root_id_rsa_pub').get(minion_id, "") | yaml_encode }}
|
||||
{% endfor %}
|
||||
|
||||
bzip2:
|
||||
pkg.installed: []
|
||||
|
||||
{% if salt.pillar.get("restic:client", None) is not none %}
|
||||
{% if salt.pillar.get("restic:client:install", True)%}
|
||||
'download restic':
|
||||
@@ -27,6 +30,8 @@ restic-{{ name }}:
|
||||
- source: 'salt://restic/files/install.sh'
|
||||
- template: jinja
|
||||
- unless: "/bin/restic version | grep 'restic {{ salt.pillar.get("restic:version") }} '"
|
||||
- require:
|
||||
- pkg: bzip2
|
||||
{% endif %}
|
||||
|
||||
/etc/logrotate.d/restic-backup:
|
||||
|
||||
Reference in New Issue
Block a user