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

supporting remote directories to retrieve the rpm #80

Open
ltutar opened this issue Apr 1, 2016 · 0 comments
Open

supporting remote directories to retrieve the rpm #80

ltutar opened this issue Apr 1, 2016 · 0 comments

Comments

@ltutar
Copy link

ltutar commented Apr 1, 2016

Is it possible to support remote directories like

logstash::package_url: 'puppet:///puppet_files/elk/logstash-2.3.0-1.noarch.rpm'

I now have to put the rpm in /tmp first in order to retrieve it through yaml like

grafana::archive_source: 'file:///tmp/grafana-2.6.0.linux-x64.tar.gz'

I now get the error

Notice: /Stage[main]/Grafana::Install/Archive[grafana]/Archive::Download[grafana.tar.gz]/Exec[download archive grafana.tar.gz and check sum]/returns: curl: (6) Couldn't resolve host 'puppet:'
Error: curl  -s -S   -o /usr/src/grafana.tar.gz 'puppet:///puppet_files/elk/grafana-2.6.0.linux-x64.tar.gz' returned 6 instead of one of [0]
Error: /Stage[main]/Grafana::Install/Archive[grafana]/Archive::Download[grafana.tar.gz]/Exec[download archive grafana.tar.gz and check sum]/returns: change from notrun to 0 failed: curl  -s -S   -o /usr/src/grafana.tar.gz 'puppet:///puppet_files/elk/grafana-2.6.0.linux-x64.tar.gz' returned 6 instead of one of [0]
@ltutar ltutar changed the title supporting remote directories to retrieve the r[m supporting remote directories to retrieve the rpm Apr 4, 2016
bastelfreak added a commit to bastelfreak/puppet-grafana that referenced this issue Nov 26, 2017
Update readme with examples of using datasource and dashboard
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

1 participant