Feat: basic borgmatic role
This commit is contained in:
@@ -6,3 +6,9 @@ def test_installed_packages(host):
|
||||
assert borgbackup.is_installed
|
||||
borgmatic = host.package("borgmatic")
|
||||
assert borgmatic.is_installed
|
||||
|
||||
def test_borgmatic_config(host):
|
||||
config = host.file("/etc/borgmatic/config.yaml")
|
||||
assert config.exists
|
||||
valid_config = host.run("sudo validate-borgmatic-config")
|
||||
assert valid_config.succeeded
|
||||
|
||||
Reference in New Issue
Block a user