qpidd conf

gemfile
mcollective-client config
This commit is contained in:
Seth Vidal 2012-10-10 20:42:19 +00:00
parent 025aebfab9
commit 70f9b02137
4 changed files with 102 additions and 0 deletions

50
files/openshift/Gemfile Normal file
View file

@ -0,0 +1,50 @@
source 'http://rubygems.org'
gem 'rails', '~> 3.0.13'
gem 'json'
gem 'parseconfig'
gem 'mongo'
gem 'xml-simple'
gem 'rack'
gem 'regin'
gem 'open4'
gem 'stickshift-node'
gem 'stickshift-controller'
gem 'rest-client'
gem 'systemu'
# Add plugin gems here
gem 'gearchanger-mcollective-plugin'
gem 'uplift-bind-plugin'
gem 'swingshift-mongo-plugin'
gem 'dnsruby'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19', :require => 'ruby-debug'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development, :test do
# The require part from http://tinyurl.com/3pf68ho
gem 'mocha', :require => nil
gem 'cucumber'
gem 'rcov'
end

View file

@ -0,0 +1,18 @@
topicprefix = /topic/
main_collective = mcollective
collectives = mcollective
libdir = /usr/libexec/mcollective
loglevel = debug
logfile = /var/log/mcollective-client.log
# Plugins
securityprovider = psk
plugin.psk = unset
connector = qpid
plugin.qpid.host=127.0.0.1
plugin.qpid.secure=false
plugin.qpid.timeout=5
# Facts
factsource = yaml
plugin.yaml = /etc/mcollective/facts.yaml

View file

@ -0,0 +1,3 @@
cluster-mechanism=DIGEST-MD5 ANONYMOUS
auth=no

View file

@ -77,4 +77,35 @@
tags: tags:
- mongo - mongo
- name: poke holes in the firewall
action: command lokkit $item
with_items:
- --service=ssh
- --service=https
- --service=http
- --service=dns
- --port=5672:tcp
- name: enable services until I turn peach
action: service state=running enabled=yes name=$item
with_items:
- httpd
- stickshift-proxy
- named
- qpidd
- stickshift-broker
- name: disable mcollective
action: service state=stopped enabled=no name=mcollective
- name: mcollective client setup
action: template src=$files/openshift/mcollective-client.cfg dest=/etc/mcollective/client.cfg
- name: qpidd.conf
action: copy src=$files/openshift/qpidd.conf dest=/etc/qpidd.conf
- name: stickshift broker gemfile
action: copy src=$files/openshift/Gemfile dest=/var/www/stickshift/broker/Gemfile owner=apache group=apache mode=0640