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
Support for an offline/file based mirror #38
Comments
@LyndonArmitage Too you can accept good pull requests instead of ignoring me for one year. |
Apologies @DaniellMesquita I have left a comment on that pull request now! |
Since we are using the module |
Instead of populating the |
Since the module is using However in these lines, if my offline package does not end in To support the varied configurations of offline downloads, is it possible to modify the module so that |
This is just a suggestion (as my puppet knowledge is quite limited).
It might be useful to add in the ability to use a puppet file server URI as a mirror instead of assuming an online mirror, as in some installs there will not be a connection available to the internet.
I've currently tried to add alter the code to support this by:
Removing the
validate_re
call and replacing it with a variable called$mirror_type
that determines if a mirror is a HTTP URL (suitable for the current wget based download) or a file based URI (likepuppet://my-module/
or/vagrant/deps
):Then altering the install logic to use a File resource instead of the Exec resource when pointing at a file based mirror:
If you're interested I can create a pull request later this week to illustrate this better?
The text was updated successfully, but these errors were encountered: