Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from datasift/develop
Browse files Browse the repository at this point in the history
Release fix to chef
  • Loading branch information
AndyJS committed Jul 22, 2015
2 parents 724f201 + 95895cd commit 302483b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions chef/.kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ suites:
ds_build_gocd: {enabled: true}
java:
jdk_version: 7
influxdb:
source: https://s3.amazonaws.com/influxdb/influxdb-0.8.8-1.x86_64.rpm
2 changes: 1 addition & 1 deletion chef/Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ cookbook 'kafka',
branch: 'v0.7.1'
cookbook 'influxdb',
git: 'https://github.com/datasift/chef-influxdb.git',
ref: 'c555ef33ba2373a67712153c4fdc0da7bbecb56e'
ref: '232e2afd4afb29b6eecb3369de84f1674272cd59'
2 changes: 2 additions & 0 deletions chef/cookbooks/datasift-stats/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
default['influxdb']['source'] = \
'https://s3.amazonaws.com/influxdb/influxdb-0.8.8-1.x86_64.rpm'

default['influxdb']['version'] = '0.8'

# Parameters to configure InfluxDB
# Based on https://github.com/influxdb/influxdb/blob/v0.8.5/config.sample.toml
default['influxdb']['config'] = {
Expand Down
7 changes: 2 additions & 5 deletions chef/cookbooks/datasift-stats/recipes/influxdb.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
user 'influxdb'

influxdb 'main' do
source node['influxdb']['source']
config node['influxdb']['config']
action :create
end
include_recipe 'influxdb::default'

supervisor_service 'influxdb' do
user 'influxdb'
Expand Down
5 changes: 4 additions & 1 deletion chef/nodes/datasift-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"java": {
"jdk_version": 7
},
"influxdb": {
"source": "https://s3.amazonaws.com/influxdb/influxdb-0.8.8-1.x86_64.rpm"
},
"run_list": [
"recipe[java]",
"recipe[supervisor]",
Expand All @@ -23,4 +26,4 @@
"recipe[gnip-reader]",
"recipe[webapp]"
]
}
}

0 comments on commit 302483b

Please sign in to comment.