From 51bbb3aa0661f83027dfe5ee22b1cb5adb975a0c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 14 Aug 2018 14:13:03 -0700 Subject: [PATCH] Backup ethercalc to hostname specific location Previously we assumed ethercalc01 was the backup destination but we've recently migrated to a new ethercalc02 running on Xenial. Update the bup puppetry to use the hostname as the backup target on the remote server. Change-Id: Ie3854d9cf0f154bcb15aa1e4655a764caa3c8506 --- modules/openstack_project/manifests/ethercalc.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/ethercalc.pp b/modules/openstack_project/manifests/ethercalc.pp index e54d56f559..2e0e875bd1 100644 --- a/modules/openstack_project/manifests/ethercalc.pp +++ b/modules/openstack_project/manifests/ethercalc.pp @@ -28,7 +28,7 @@ class openstack_project::ethercalc ( # is required like with mysql. include bup bup::site { 'ord.rax': - backup_user => 'bup-ethercalc01', + backup_user => "bup-$::hostname", backup_server => 'backup01.ord.rax.ci.openstack.org', } }