Skip to content

Commit

Permalink
Adding Mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
smokodon committed May 9, 2023
1 parent e063790 commit c4fbc08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cookbooks/travis_ci_ubuntu_2204/recipes/mongodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
command 'sudo apt-get update -y'
end

package 'mongodb' do
package 'mongodb-org' do
action :install
end

service 'mongodb' do
action [:disable, :stop]
service 'mongod' do
action %i[stop disable]
not_if { node['travis_build_environment']['mongodb']['service_enabled'] }
end

0 comments on commit c4fbc08

Please sign in to comment.