From afb4d8229f0c45953b30fe83dd9cce4419759588 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Tue, 5 Sep 2023 17:10:50 +0200 Subject: [PATCH] document how to configure branch of filecopy source --- admin-guide/configuration/distribute_files.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin-guide/configuration/distribute_files.md b/admin-guide/configuration/distribute_files.md index 7147a821..c93d1400 100644 --- a/admin-guide/configuration/distribute_files.md +++ b/admin-guide/configuration/distribute_files.md @@ -4,11 +4,12 @@ With Hiera it is possible to download files and git repositories as well as to c ## Download Files -Files to download need to be placed on a git repository on `git.psi.ch` (internal) or `gitlab.psi.ch` (DMZ, Extranet, Tier3), where they need to reside in the `master` branch and be publicly available. +Files to download need to be placed on a git repository on `git.psi.ch` (internal) or `gitlab.psi.ch` (DMZ, Extranet, Tier3), where they need to be publicly available. For configuration in Hiera there is the `filecopy::files` hash where the keys is the destination path of the file. And the value is another hash with following options: - `repo`: the Git repository to download from +- `branch`: the Git branch in the repository (optional, default `master`) - `path`: the file path inside the repository - `owner`: file owner (optional, default `root`) - `mode`: file permissions (optional, default `0644`)