commit | e2460a33bded62cb7308747a4a76d11642f67665 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Thu Mar 10 17:44:18 2016 +0100 |
committer | Filip Pytloun <filip@pytloun.cz> | Thu Mar 10 17:44:18 2016 +0100 |
tree | 412d475e59c4432422e4b445a30e131f1fcc66cb | |
parent | 32a13ddb691339c9520931ab70133dc365621bc4 [diff] |
Deploy backupninja.conf
diff --git a/backupninja/client.sls b/backupninja/client.sls index 4aad8b4..a7e4fba 100644 --- a/backupninja/client.sls +++ b/backupninja/client.sls
@@ -15,6 +15,15 @@ pkg.installed: - names: {{ client.pkgs }} +backupninja_conf: + file.managed: + - name: /etc/backupninja.conf + - source: salt://backupninja/files/backupninja.conf + - template: jinja + - mode: 600 + - require: + - pkg: backupninja_packages + backups_dir: file.directory: - name: /var/backups