Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Disable several services from starting on boot

  • Loading branch information...
commit f408c7942f08624653ab41df7b0d6f4374ac1939 1 parent d57ae96
Michael Klishin michaelklishin authored
3  ci_environment/cassandra/recipes/tarball.rb
@@ -149,5 +149,6 @@
149 149
150 150 service "cassandra" do
151 151 supports :start => true, :stop => true, :restart => true
152   - action [:enable, :start]
  152 + # intentionally disabled on boot. MK.
  153 + action [:disable, :start]
153 154 end
3  ci_environment/couchdb/recipes/ppa.rb
@@ -32,5 +32,6 @@
32 32 end
33 33
34 34 service "couchdb" do
35   - action [:enable, :start]
  35 + # intentionally disabled on boot. MK.
  36 + action [:disable, :start]
36 37 end
3  ci_environment/mongodb/recipes/server.rb
@@ -36,7 +36,8 @@
36 36
37 37 service "mongodb" do
38 38 supports :start => true, :stop => true, "force-stop" => true, :restart => true, "force-reload" => true, :status => true
39   - action [:enable, :start]
  39 + # intentionally disabled on boot. MK.
  40 + action [:disable, :start]
40 41 subscribes :restart, resources(:template => node[:mongodb][:config])
41 42 subscribes :restart, resources(:template => "/etc/init.d/mongodb") if node[:mongodb][:installed_from] == "src"
42 43 end
3  ci_environment/rabbitmq/recipes/default.rb
@@ -58,5 +58,6 @@
58 58
59 59 service "rabbitmq-server" do
60 60 supports :restart => true, :status => true, :reload => true
61   - action [:enable, :start]
  61 + # intentionally disabled on boot. MK.
  62 + action [:disable, :start]
62 63 end
3  ci_environment/redis/recipes/default.rb
@@ -59,6 +59,7 @@
59 59
60 60 service "redis-server" do
61 61 supports :restart => true, :status => true, :reload => true
62   - action [:enable, :start]
  62 + # intentionally disabled on boot. MK.
  63 + action [:disable, :start]
63 64 end
64 65 end # case
6 ci_environment/redis/recipes/ppa.rb
@@ -34,3 +34,9 @@
34 34 package "redis-server" do
35 35 action :install
36 36 end
  37 +
  38 +service "redis-server" do
  39 + supports :restart => true, :status => true, :reload => true
  40 + # intentionally disabled on boot. MK.
  41 + action [:disable, :start]
  42 +end
3  ci_environment/riak/recipes/default.rb
@@ -147,7 +147,8 @@
147 147 if node[:riak][:package][:type].eql?("binary")
148 148 service "riak" do
149 149 supports :start => true, :stop => true, :restart => true
150   - action [ :enable ]
  150 + # intentionally disabled on boot. MK.
  151 + action [:disable]
151 152 subscribes :restart, resources(:template => [ "#{node[:riak][:package][:config_dir]}/app.config",
152 153 "#{node[:riak][:package][:config_dir]}/vm.args" ])
153 154 end

0 comments on commit f408c79

Please sign in to comment.
Something went wrong with that request. Please try again.