diff --git a/admin-guide/configuration/distribute_files.md b/admin-guide/configuration/distribute_files.md index 2cf0bf2c..7c6e5170 100644 --- a/admin-guide/configuration/distribute_files.md +++ b/admin-guide/configuration/distribute_files.md @@ -86,11 +86,16 @@ Example: ``` files::git: /var/test/container-images: + ensure: latest url: 'https://git.psi.ch/linux-infra/container_images.git' revision: 'main' ``` -If the `revision` is missing, it will initialize the checkout with the default branch, but after leave the checkout as is and not try to ensure that it is on given revision (branch, tag or commit). +If the `ensure` is missing, it will initialize the checkout with the default branch, but afterwards leave the checkout as is and not try to ensure that it is on a given revision (branch, tag or commit). + +Possible values for `ensure` are: present, bare, mirror, absent, latest . + +More details on the possible values of ensure you can find in [this documentation](https://forge.puppet.com/modules/puppetlabs/vcsrepo/reference#ensure) Note that submodules are automatically initialized.