Replace goss tests with testinfra
This commit is contained in:
parent
b4695d7403
commit
97faa7429c
65 changed files with 163 additions and 1281 deletions
1
molecule/mgt/tests
Symbolic link
1
molecule/mgt/tests
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../generic_files/tests
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../generic_files/tests/test_all.yml
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../generic_files/tests/test_client.yml
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../generic_files/tests/test_client_restore.yml
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# Molecule managed
|
||||
|
||||
---
|
||||
file:
|
||||
/root/prune.sh:
|
||||
exists: true
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0700"
|
||||
contains:
|
||||
{% for host in groups.all|difference(groups.borgbackup_servers) %}
|
||||
- "Host: {{ host }}"
|
||||
- "export BORG_PASSPHRASE={{ borgbackup_passphrase }}"
|
||||
- ":/var/backup/repos/{{ host }}"
|
||||
{% endfor %}
|
||||
- "/usr/local/bin/borg prune"
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../generic_files/tests/test_server.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue