From b769f1637ae6c79081d5fec36276edb8b03680cf Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 12 Nov 2024 16:44:22 +0100 Subject: [PATCH 1/3] Add container for multinode purposes --- templates/application/remount_user_bucket_as_project.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/application/remount_user_bucket_as_project.sh b/templates/application/remount_user_bucket_as_project.sh index 797cd74..e5a1a7f 100755 --- a/templates/application/remount_user_bucket_as_project.sh +++ b/templates/application/remount_user_bucket_as_project.sh @@ -13,7 +13,7 @@ if [[ -z ${container} ]]; then container="nextcloud_app_1" fi -occ="/usr/local/bin/occ" +occ="/usr/local/bin/occ ${container}" function get_config { ${occ} files_external:config ${mountid} ${1} | tr -d '\n\t\r' } From 30952f7448292bb54b3502aba337a969cfcd111d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 13 Nov 2024 09:34:57 +0100 Subject: [PATCH 2/3] Newline --- manifests/multinode_db.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/multinode_db.pp b/manifests/multinode_db.pp index d26acac..c4aef52 100644 --- a/manifests/multinode_db.pp +++ b/manifests/multinode_db.pp @@ -68,3 +68,4 @@ class sunetdrive::multinode_db(){ } } } + From 99f768708a49dec05c8b131776874509f946dd89 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sun, 17 Nov 2024 13:57:57 +0100 Subject: [PATCH 3/3] Install kopia --- manifests/script.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/script.pp b/manifests/script.pp index 494150d..daa22bc 100644 --- a/manifests/script.pp +++ b/manifests/script.pp @@ -4,6 +4,7 @@ class sunetdrive::script ( $location = undef ) { include sunet::packages::python3_pip + include sunet::packages::kopia $environment = sunetdrive::get_environment() $customer = sunetdrive::get_customer() $apikey_test = safe_hiera('monitor_apikey_test')