Commit 84a0ad71 authored by Jerome Charaoui's avatar Jerome Charaoui

Remove $backupserver_tag parameter of server class, should always be $::fqdn anyway

parent dcff4ff0
...@@ -8,7 +8,6 @@ define backupninja_server_realize($host) { ...@@ -8,7 +8,6 @@ define backupninja_server_realize($host) {
class backupninja::server ( class backupninja::server (
$backupdir = '/backup', $backupdir = '/backup',
$backupdir_ensure = 'directory', $backupdir_ensure = 'directory',
$backupserver_tag = $::fqdn,
$manage_nagios = false, $manage_nagios = false,
$nagios_server = undef $nagios_server = undef
) { ) {
...@@ -51,7 +50,7 @@ class backupninja::server ( ...@@ -51,7 +50,7 @@ class backupninja::server (
} }
# collect all resources from hosted backups # collect all resources from hosted backups
Backupninja_server_realize <<| tag == "$backupserver_tag" |>> Backupninja_server_realize <<| tag == $::fqdn |>>
# this define allows nodes to declare a remote backup sandbox, that have to # this define allows nodes to declare a remote backup sandbox, that have to
# get created on the server # get created on the server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment