We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42195db commit e063790Copy full SHA for e063790
cookbooks/travis_ci_ubuntu_2204/recipes/mongodb.rb
@@ -8,13 +8,12 @@
8
command 'sudo echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list'
9
end
10
11
-apt_update
+execute 'update_repositories' do
12
+ command 'sudo apt-get update -y'
13
+end
14
-execute 'install_mongodb' do
- command 'apt-get install -yqq \
15
- --no-install-suggests \
16
- --no-install-recommends \
17
- mongodb-org;'
+package 'mongodb' do
+ action :install
18
19
20
service 'mongodb' do
0 commit comments