From d1c790dd5d8388578bbefe161f956917c6c8983f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com> Date: Fri, 28 Jun 2013 11:33:29 +0200 Subject: [PATCH] slaprunner: add .htpasswd file to resilient part of runner --- slapos/recipe/slaprunner/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slapos/recipe/slaprunner/backup.py b/slapos/recipe/slaprunner/backup.py index e8ba31641..bec39569c 100644 --- a/slapos/recipe/slaprunner/backup.py +++ b/slapos/recipe/slaprunner/backup.py @@ -71,7 +71,7 @@ class ExportRecipe(GenericBaseRecipe): done } sync_element %(srv-directory)s/runner %(backup-directory)s/runner/ instance project proxy.db softwareLink - sync_element %(etc-directory)s %(backup-directory)s/etc/ .rcode .project .users ssh + sync_element %(etc-directory)s %(backup-directory)s/etc/ .rcode .project .users .htpasswd ssh if [ -d %(backup-directory)s/runner/software ]; then rm %(backup-directory)s/runner/software/* fi @@ -120,7 +120,7 @@ class ImportRecipe(GenericBaseRecipe): done } restore_element %(backup-directory)s/runner/ %(srv-directory)s/runner instance project proxy.db softwareLink - restore_element %(backup-directory)s/etc/ %(etc-directory)s .rcode .project .users ssh + restore_element %(backup-directory)s/etc/ %(etc-directory)s .rcode .project .users .htpasswd ssh ifs=$IFS IFS=';' read user pass remaining < %(etc-directory)s/.users IFS=$ifs -- 2.30.9