Fix the backup of network node group data
Closes-Bug: #1626167 Change-Id: I4b2d2f28950fce01e3e492f0c1145af29b424bd5
This commit is contained in:
parent
b71daaec85
commit
e793679717
|
@ -16,7 +16,7 @@ from octane.util import puppet
|
|||
|
||||
|
||||
class AdminNetworks(base.PathFilterArchivator):
|
||||
backup_directory = "/etc/hiera/networks.yaml"
|
||||
backup_directory = "/etc/hiera/"
|
||||
allowed_files = ["networks.yaml"]
|
||||
backup_name = "networks"
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ def test_path_backup(mocker, cls, path, name):
|
|||
(
|
||||
admin_networks.AdminNetworks,
|
||||
[],
|
||||
"/etc/hiera/networks.yaml",
|
||||
"/etc/hiera/",
|
||||
["networks.yaml"],
|
||||
"networks"
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue