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

apt-transport-https required on Ubuntu when installing version >= 3.0.0. #417

Closed
robertmbaker opened this issue Nov 6, 2017 · 3 comments
Labels
bug Something isn't working

Comments

@robertmbaker
Copy link

When using this module to install mongodb on Ubuntu 16.04 using this config:

class {'::mongodb::globals':
manage_package_repo => true,
server_package_name => mongodb-org,
service_name => mongod,
version => 3.4.10,
}->
class {'::mongodb::server':
auth => true,
bind_ip => ['127.0.0.1'],
}

The repo that is added uses https, but a default installation of Ubuntu 16.04 server doesn't have apt-transport-https installed and so apt-get update fails to download indexes from the new repo. Altering the URLs in mongodb/manifests/repo.pp to use http instead of https works as expected.

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Nov 6, 2017
@btravouillon
Copy link
Member

The issue is within puppetlabs-apt. This is similar to puppetlabs/puppetlabs-apt#714 , but for Ubuntu 16.04 this time.

@btravouillon
Copy link
Member

puppetlabs/puppetlabs-apt#720 has merged. @robertmbaker , can you test with the latest puppetlabs-apt module?

@robertmbaker
Copy link
Author

Updating to puppetlabs-apt 4.3.0 also solves this issue.

It appears puppetlabs-apt's version was being held back by another module's dependencies. Once I resolved the dependency issue and went through the module list and upgraded everything I could I was able to deploy mongodb using puppet-mongodb unaltered without issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants