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

Add a $destination_dir param #51

Closed
LinguineCode opened this issue Jul 22, 2015 · 1 comment
Closed

Add a $destination_dir param #51

LinguineCode opened this issue Jul 22, 2015 · 1 comment

Comments

@LinguineCode
Copy link

It would be cool if I could do this. I should be able to send a PR.

 $rhsm_sslcerts = hiera(rhsm::register::sslcerts)

  wget::fetch { $rhsm_sslcerts:
    destination_dir => '/etc/rhsm/ca/',
  }

hiera:


---
rhsm::register::sslcerts:
 - 'http://mysatelliteserver.mycompany.com/pub/certs/mycert-local.pem':
 - 'http://mysatelliteserver.mycompany.com/pub/certs/another-file-ca.pem':

And it downloads the files to /<destination_dir>/<filename cut from url>

@carlossg
Copy link
Member

carlossg commented Oct 7, 2015

see #58

@carlossg carlossg closed this as completed Oct 7, 2015
carlossg added a commit that referenced this issue Oct 26, 2015
Improvement to $destination param (issue #51)
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

No branches or pull requests

2 participants