Permalink
Browse files

abstracted app_name for thinking_sphinx

  • Loading branch information...
1 parent cde607d commit a7f14fd622bbec61109a4f2e729e30d040c1acca Tyler Bird committed Sep 1, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 cookbooks/thinking_sphinx/recipes/default.rb
@@ -3,11 +3,11 @@
# Cookbook Name:: thinking_sphinx
# Recipe:: default
#
-#if_app_needs_recipe("thinking_sphinx") do |app,data,index|
if ['solo', 'app', 'app_master'].include?(node[:instance_role])
- run_for_app("rede") do |app_name, data|
+ # be sure to replace "app_name" with the name of your application.
+ run_for_app("app_name") do |app_name, data|
directory "/var/run/sphinx" do
owner node[:owner_name]
@@ -27,6 +27,7 @@
group "root"
mode 0755
source "sphinx.logrotate"
+ backup false
action :create
end

0 comments on commit a7f14fd

Please sign in to comment.