Skip to content

Commit c4fbc08

Browse files
committed
Adding Mongodb
1 parent e063790 commit c4fbc08

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cookbooks/travis_ci_ubuntu_2204/recipes/mongodb.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
command 'sudo apt-get update -y'
1313
end
1414

15-
package 'mongodb' do
15+
package 'mongodb-org' do
1616
action :install
1717
end
1818

19-
service 'mongodb' do
20-
action [:disable, :stop]
19+
service 'mongod' do
20+
action %i[stop disable]
21+
not_if { node['travis_build_environment']['mongodb']['service_enabled'] }
2122
end

0 commit comments

Comments
 (0)