Skip to content
This repository was archived by the owner on Oct 15, 2019. It is now read-only.

[COOK-3955] Make the initial service actions (e.g., enable, start) attributes #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make the initial service actions (e.g., enable, start) attributes
Gonçalo Silva and Will Hamilton committed Nov 6, 2013
commit da28f83e18ba2c21741a60ee232db4a98e4e745e
2 changes: 2 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -34,3 +34,5 @@
default['supervisor']['loglevel'] = 'info'
default['supervisor']['minfds'] = 1024
default['supervisor']['minprocs'] = 200

default['supervisor']['initial_service_actions'] = [:enable, :start]
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@
end

service "supervisor" do
action [:enable, :start]
action node['supervisor']['initial_service_actions']
end
when "smartos"
directory "/opt/local/share/smf/supervisord" do