Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 521 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 521 Bytes

NSQ Cookbook

Chef cookbook for installing and configuring NSQ applications

Usage

Attribute driven

# roles/msg-bus.rb

name 'msg-bus'

default_attributes(
  :nsq => {
    :instances => {
      :msg_bus => {
        :app => 'nsqd',
        :config => {
          :data_path => '/var/lib/data/msg-bus'
        }
      }
    }
  }
)

LWRP

nsq 'msg_bus' do
  app 'nsqd'
  config {:data_path => '/var/lib/data/msg-bus'}
end

Infos