Skip to content
This repository was archived by the owner on Jul 29, 2020. It is now read-only.
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions attributes/nerve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
default.nerve.local.host = "127.0.0.1"
default.nerve.local.port = 1025

# Cookbook in which the runit_service LWRP will look for an sv-nerve-run.erb
# template:
default.nerve.runit_cookbook = 'smartstack'

# everything below is used to configure nerve at runtime
instance_id = node.hostname
instance_id = node.ec2.instance_id if node.has_key? 'ec2'
Expand Down
4 changes: 4 additions & 0 deletions attributes/synapse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
default.synapse.haproxy.sock_file = File.join(node.synapse.haproxy.sock_dir, 'stats.sock')
default.synapse.haproxy.channel = 'local1'

# Cookbook in which the runit_service LWRP will look for an sv-synapse-run.erb
# template:
default.synapse.runit_cookbook = 'smartstack'

default.synapse.config = {
'services' => {},
'haproxy' => {
Expand Down
1 change: 1 addition & 0 deletions recipes/nerve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@
# so, we only enable nerve; setting it up initially causes it to start,
runit_service 'nerve' do
action :enable
cookbook node.nerve.runit_cookbook
default_logger true
end
1 change: 1 addition & 0 deletions recipes/synapse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@
# set up runit service
runit_service "synapse" do
action :enable
cookbook node.synapse.runit_cookbook
default_logger true
end