Add node_type as option for baas2_restoretest class

This commit is contained in:
Patrik Holmqvist 2025-01-15 13:12:32 +01:00
parent 5e1eb4e2bd
commit cb88ffb72c
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -1,7 +1,9 @@
# This puppet manifest is used to test backup and restore in an automated fashion
# This tests the backup and restores when manged by sunet::baas2 from puppet-sunet
# Jira-ref: SUNETOPS-1997
class net::baas2_restoretest() {
class net::baas2_restoretest(
Enum['backupnode', 'restorenode'] $node_type = undef,
) {
file { '/opt/restore-target':
ensure => directory,