aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-08 13:04:46 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-08 13:04:46 -0400
commit84a0ad712aed8d0fe8507e267548b9ba32980f22 (patch)
treef51ca62df74dc0ff204adb7f744b055fba68f742
parentdcff4ff0bb51af468c1363b75e72167d2463425b (diff)
downloadpuppet-backupninja-84a0ad712aed8d0fe8507e267548b9ba32980f22.tar.gz
puppet-backupninja-84a0ad712aed8d0fe8507e267548b9ba32980f22.tar.bz2
Remove $backupserver_tag parameter of server class, should always be $::fqdn anyway
-rw-r--r--manifests/server.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index af7baf9..94dd7c7 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -8,7 +8,6 @@ define backupninja_server_realize($host) {
class backupninja::server (
$backupdir = '/backup',
$backupdir_ensure = 'directory',
- $backupserver_tag = $::fqdn,
$manage_nagios = false,
$nagios_server = undef
) {
@@ -51,7 +50,7 @@ class backupninja::server (
}
# 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
# get created on the server