forked from sous-chefs/graphite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Foodcritic, port and path attributes to customize
* FC001 - use strings in preference to symbols * FC019 - consistent attribute access * Add listen_port attribute to customize the web port This attribute is used in the HW gdash cookbook. * Add base_dir attribute for customizing the base location of graphite * Add doc_root attribute for customizing the DocumentRoot for vhost
- Loading branch information
jtimberman
committed
Sep 26, 2012
1 parent
efe53aa
commit d494d0e
Showing
9 changed files
with
61 additions
and
60 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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
default[:graphite][:version] = "0.9.9" | ||
default[:graphite][:python_version] = "2.6" | ||
default['graphite']['version'] = "0.9.9" | ||
default['graphite']['python_version'] = "2.6" | ||
|
||
default[:graphite][:carbon][:uri] = "http://launchpadlibrarian.net/82112362/carbon-#{node[:graphite][:version]}.tar.gz" | ||
default[:graphite][:carbon][:checksum] = "b3d42e3b93c09" | ||
default['graphite']['carbon']['uri'] = "http://launchpadlibrarian.net/82112362/carbon-#{node['graphite']['version']}.tar.gz" | ||
default['graphite']['carbon']['checksum'] = "b3d42e3b93c09" | ||
|
||
default[:graphite][:whisper][:uri] = "http://launchpadlibrarian.net/82112367/whisper-#{node[:graphite][:version]}.tar.gz" | ||
default[:graphite][:whisper][:checksum] = "66c05eafe8d86" | ||
default['graphite']['whisper']['uri'] = "http://launchpadlibrarian.net/82112367/whisper-#{node['graphite']['version']}.tar.gz" | ||
default['graphite']['whisper']['checksum'] = "66c05eafe8d86" | ||
|
||
default[:graphite][:graphite_web][:uri] = "http://launchpadlibrarian.net/82112308/graphite-web-#{node[:graphite][:version]}.tar.gz" | ||
default[:graphite][:graphite_web][:checksum] = "cc78bab7fb26b" | ||
default['graphite']['graphite_web']['uri'] = "http://launchpadlibrarian.net/82112308/graphite-web-#{node['graphite']['version']}.tar.gz" | ||
default['graphite']['graphite_web']['checksum'] = "cc78bab7fb26b" | ||
|
||
default[:graphite][:carbon][:line_receiver_interface] = "127.0.0.1" | ||
default[:graphite][:carbon][:pickle_receiver_interface] = "127.0.0.1" | ||
default[:graphite][:carbon][:cache_query_interface] = "127.0.0.1" | ||
default['graphite']['carbon']['line_receiver_interface'] = "127.0.0.1" | ||
default['graphite']['carbon']['pickle_receiver_interface'] = "127.0.0.1" | ||
default['graphite']['carbon']['cache_query_interface'] = "127.0.0.1" | ||
|
||
default[:graphite][:password] = "change_me" | ||
default[:graphite][:url] = "graphite" | ||
default['graphite']['password'] = "change_me" | ||
default['graphite']['url'] = "graphite" | ||
default['graphite']['listen_port'] = "80" | ||
default['graphite']['base_dir'] = "/opt/graphite" | ||
default['graphite']['doc_root'] = "/opt/graphite/webapp" |
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
exec 2>&1 | ||
exec chpst -u <%= node['apache']['user'] %>:<%= node['apache']['group'] %> -l /opt/graphite/storage/carbon-cache.lock -- /opt/graphite/bin/carbon-cache.py --debug start | ||
exec chpst -u <%= node['apache']['user'] %>:<%= node['apache']['group'] %> -l <%= node['graphite']['base_dir'] %>/storage/carbon-cache.lock -- <%= node['graphite']['base_dir']%>/bin/carbon-cache.py --debug start |