Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/chef-solr/files: solr.rb
Date: Sat, 03 Jul 2010 12:54:21
Message-Id: 20100703125417.C414E2CF3C@corvid.gentoo.org
1 hollow 10/07/03 12:54:17
2
3 Added: solr.rb
4 Log:
5 initial ebuild, thanks to Gábor Vészi
6 (Portage version: 2.2_rc67/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 app-admin/chef-solr/files/solr.rb
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-solr/files/solr.rb?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-solr/files/solr.rb?rev=1.1&content-type=text/plain
13
14 Index: solr.rb
15 ===================================================================
16 # Configuration File For Chef SOLR Indexer (chef-solr-indexer)
17 #
18 # The chef-indexer program runs on the Chef Server to generate search indexes
19 # of node data stored in the Server's CouchDB store.
20 #
21 # Chef uses a Ruby DSL for configuration, and this file may contain some
22 # Ruby idioms. First, symbols. These are designated by a colon sigil, ie,
23 # :value. Second, in Ruby, everything but false and nil (no quotes or other
24 # designations) is true, including true, the integer 0 and the string "false".
25 # So to set the value of a setting to false, write:
26 #
27 # some_setting false
28 #
29 # Third, Ruby class methods can be used, for example we tell the log to show
30 # the current time stamp with Chef::Log::Formatter.show_time, below.
31 #
32 # log_location specifies where the indexer should log to.
33 # valid values are: a quoted string specifying a file, or STDOUT with
34 # no quotes. When run as a daemon (default), STDOUT will produce no output.
35
36 log_location "/var/log/chef/solr.log"
37
38 # search_index_path specifies where the indexer should store the indexes.
39 # valid value is any filesystem directory location.
40
41 search_index_path "/var/lib/chef/search_index"
42
43 solr_jetty_path "/var/lib/chef/solr/jetty"
44 solr_home_path "/var/lib/chef/solr/home"
45 solr_data_path "/var/lib/chef/solr/data"
46 solr_heap_size "256M"
47
48 # Mixlib::Log::Formatter.show_time specifies whether the chef-client log should
49 # contain timestamps.
50 # valid values are true or false (no quotes, see above about Ruby idioms). The
51 # printed timestamp is rfc2822, for example:
52 # Fri, 31 Jul 2009 19:19:46 -0600
53
54 Mixlib::Log::Formatter.show_time = true