We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
curl is not availaible in ubuntu base, which means a standalone bootstrap of the apt module will fail. I would suggest to replace curl with wget:
diff --git a/scripts/vagrant/modules/apt/manifests/init.pp b/scripts/vagrant/mod index f769217..d251ff3 100644 --- a/scripts/vagrant/modules/apt/manifests/init.pp +++ b/scripts/vagrant/modules/apt/manifests/init.pp @@ -39,7 +39,7 @@ define apt::localpackage($url = "", $repodir = "/var/cache/loc $url_tokens = split($url, '/') $pkg_filename = $url_tokens[-1] exec { "apt-localpackage-${name}": - command => "/usr/bin/curl -L -s -C - -O $url", + command => "/usr/bin/wget $url", cwd => $repodir, creates => "${repodir}/${pkg_filename}", notify => Exec["apt-update-local-repo"],
The text was updated successfully, but these errors were encountered:
No branches or pull requests
curl is not availaible in ubuntu base, which means a standalone bootstrap of the apt module will fail.
I would suggest to replace curl with wget:
The text was updated successfully, but these errors were encountered: