Merge "Fix the backup of network node group data"
This commit is contained in:
commit
bd40fb33d2
@ -16,7 +16,7 @@ from octane.util import puppet
|
|||||||
|
|
||||||
|
|
||||||
class AdminNetworks(base.PathFilterArchivator):
|
class AdminNetworks(base.PathFilterArchivator):
|
||||||
backup_directory = "/etc/hiera/networks.yaml"
|
backup_directory = "/etc/hiera/"
|
||||||
allowed_files = ["networks.yaml"]
|
allowed_files = ["networks.yaml"]
|
||||||
backup_name = "networks"
|
backup_name = "networks"
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ def test_path_backup(mocker, cls, path, name):
|
|||||||
(
|
(
|
||||||
admin_networks.AdminNetworks,
|
admin_networks.AdminNetworks,
|
||||||
[],
|
[],
|
||||||
"/etc/hiera/networks.yaml",
|
"/etc/hiera/",
|
||||||
["networks.yaml"],
|
["networks.yaml"],
|
||||||
"networks"
|
"networks"
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user