Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass key directory to cvmfs_server add-replica command #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bedroge
Copy link
Contributor

@bedroge bedroge commented Feb 12, 2021

Instead of specifying an individual public key to the add-replica command on the Stratum 1, you can also pass the directory containing the public key(s):

  add-replica     [-u stratum1 upstream storage] [-o owner] [-w stratum1 url]
                  [-a silence apache warning] [-z enable garbage collection]
                  [-n alias name] [-s S3 config file] [-p no apache config]
                  [-g snapshot group] [-P pass-through repository]
                  <stratum 0 url> <public key | keys directory>
                  Creates a Stratum 1 replica of a Stratum 0 repository

This is very useful if you have one domain that reuses the master key for its repositories, so you can also use a single public key for all repos under that domain. Right now it's not really possible to use that feature, without just copying the same public key several times in the configuration. With this patch, you can just add a single public key to the configuration that can be used for all repositories (the name of the pub file doesn't really matter, the command will check all keys in the given directory).

bedroge added a commit to bedroge/filesystem-layer that referenced this pull request Feb 12, 2021
Base automatically changed from master to main March 25, 2021 15:59
bedroge added a commit to bedroge/ansible-cvmfs that referenced this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant