-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
BREAKING: Change the default 'archive_path' to '/opt/consul/archives'. #292
Conversation
This is the |
This module defines the |
Hmm. You are right, that isn't really a good path for this module to be using. How about changing the default path to be |
I've replaced the commit I made with one that updates |
Sure, but why do you want to keep downloaded packages in a subfolder of /opt/consul? |
The primary reason is for maintenance: I want to be able to automatically remove old archives that are no longer used after an installation or upgrade. Currently, the module stores the downloaded archives beside the folders that it extracts them into, which makes slightly harder to see what archives are unused. If the archives are in a separate folder then I can define a |
sgtm, if we are going to change it, let's change it to something that can be purged automatically. Go ahead and set it to /opt/consul/archive(s) ? |
@jmkeyes although now we have a new problem: it is unlikely that users will have /opt/consul ready for puppet to make the archives folder in :( (right?) |
That is correct. The examples within the README for this module specify Should I update my patch to store archives under a subdirectory of |
Ah, |
Looks like this branch was never updated to reflect this: |
BREAKING: Change the default 'archive_path' to '/opt/consul/archives'.
If another Puppet module already defines the archive directory then compiling a catalog leads to a duplicate resource error; this patch should fix that issue.