Skip to content

hw-cookbooks/nsq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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