-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from AutomationSupport/issue_22
Issue 22
- Loading branch information
Showing
5 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,13 @@ cookbook 'elasticsearch', '~> 0.3', git:'[email protected]:racker/cookbook-elastics | |
cookbook 'logstash', '~> 0.9', git:'[email protected]:racker/chef-logstash.git' | ||
|
||
# until https://github.com/poise/python/pull/120 | ||
cookbook 'python', git:'[email protected]:racker/python.git' | ||
cookbook 'python', git: '[email protected]:racker/python.git' | ||
|
||
cookbook 'logstash_stack', git: '[email protected]:rackspace-cookbooks/logstash_stack.git' | ||
cookbook 'rackspace_iptables', git: '[email protected]:rackspace-cookbooks/rackspace_iptables.git' | ||
cookbook 'rackspacecloud', git: '[email protected]:rackspace-cookbooks/rackspacecloud.git' | ||
cookbook 'rackspace_gluster', git: '[email protected]:rackspace-cookbooks/rackspace_gluster.git' | ||
cookbook 'rackops_rolebook', git: '[email protected]:rackops/rackops_rolebook.git' | ||
|
||
# override community cron | ||
cookbook 'cron', git:'[email protected]:rackspace-cookbooks/cron.git' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ | |
depends 'python' | ||
depends 'rsyslog' | ||
depends 'platformstack' | ||
depends 'newrelic_meetme_plugin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Encoding: utf-8 | ||
# | ||
# Cookbook Name:: elkstack | ||
# Recipe:: newrelic | ||
# | ||
# Copyright 2014, Rackspace | ||
# | ||
|
||
unless node['newrelic']['license'].nil? | ||
node.default['newrelic_meetme_plugin']['license'] = node['newrelic']['license'] | ||
if tagged?('elkstack') || tagged?('elkstack_cluster') | ||
node.override['newrelic_meetme_plugin']['services'] = { | ||
'elasticsearch' => { | ||
'name' => node['elasticsearch']['cluster']['name'], | ||
'host' => 'localhost', | ||
'port' => '9200', | ||
'scheme' => 'http' | ||
} | ||
} | ||
end | ||
|
||
node.default['newrelic_meetme_plugin']['package_name'] = 'newrelic-plugin-agent' | ||
|
||
include_recipe 'python::package' | ||
include_recipe 'python::pip' | ||
python_pip 'setuptools' do | ||
action :upgrade | ||
version node['python']['setuptools_version'] | ||
end | ||
|
||
include_recipe 'python' | ||
include_recipe 'newrelic_meetme_plugin' | ||
end |