You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: