updated gobackup state
This commit is contained in:
parent
be5cb6fcf0
commit
16977767ed
@ -4,12 +4,15 @@ gobackup:
|
||||
fetch_url: https://paulbsd-pub.s3.fr-par.scw.cloud/gobackup
|
||||
install_dir: /usr/local/bin
|
||||
config_dir: /etc/gobackup
|
||||
os: linux
|
||||
arch: amd64
|
||||
config:
|
||||
user: gobackup
|
||||
password: password
|
||||
store:
|
||||
type: local
|
||||
keep: 3
|
||||
path: /var/lib/gobackup
|
||||
compress:
|
||||
type: tgz
|
||||
models:
|
||||
gobackup:
|
||||
store_with:
|
||||
type: local
|
||||
keep: 3
|
||||
path: /var/lib/gobackup
|
||||
compress_with:
|
||||
type: tgz
|
||||
databases: {}
|
||||
|
@ -7,4 +7,11 @@ gobackup-bin:
|
||||
- user: root
|
||||
- group: root
|
||||
- skip_verify: True
|
||||
- if_missing: {{ gobackup.install_dir }}/gobackup
|
||||
- if_missing: {{ gobackup.install_dir }}/gobackup
|
||||
|
||||
gobackup-backups-path:
|
||||
file.directory:
|
||||
- name: {{ gobackup.config.models.gobackup.store_with.path }}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 700
|
||||
|
@ -0,0 +1,3 @@
|
||||
# {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||
{%- from "gobackup/map.jinja" import gobackup with context %}
|
||||
{{ gobackup.config|yaml(False) }}
|
Loading…
Reference in New Issue
Block a user