Permalink
Browse files

COOK-324, update solr attributes

  • Loading branch information...
1 parent c37d07e commit f9560ff0c9fcfaebf5cc8c8f1554d9b31ca45508 @jtimberman jtimberman committed Jul 11, 2010
Showing with 19 additions and 19 deletions.
  1. +4 −4 solr/attributes/default.rb
  2. +14 −14 solr/metadata.json
  3. +1 −1 solr/metadata.rb
@@ -17,7 +17,7 @@
# limitations under the License.
#
-set_unless[:solr][:user] = 'solr'
-set_unless[:solr][:uid] = 551
-set_unless[:solr][:group] = 'solr'
-set_unless[:solr][:gid] = 551
+default[:solr][:user] = 'solr'
+default[:solr][:uid] = 551
+default[:solr][:group] = 'solr'
+default[:solr][:gid] = 551
View
@@ -1,5 +1,5 @@
{
- "recommendations": {
+ "providing": {
},
"attributes": {
"solr/gid": {
@@ -59,11 +59,7 @@
"display_name": "Solr Group"
}
},
- "maintainer": "Opscode, Inc.",
- "suggestions": {
- "ruby": [
-
- ]
+ "replacing": {
},
"dependencies": {
"runit": [
@@ -76,8 +72,9 @@
]
},
- "maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
+ "groupings": {
+ },
+ "recommendations": {
},
"platforms": {
"debian": [
@@ -88,17 +85,20 @@
]
},
"license": "Apache 2.0",
- "version": "0.8.0",
- "providing": {
+ "version": "0.8.1",
+ "maintainer": "Opscode, Inc.",
+ "suggestions": {
+ "ruby": [
+
+ ]
},
"recipes": {
"solr": "Sets up environment for solr replication"
},
- "replacing": {
- },
+ "maintainer_email": "cookbooks@opscode.com",
"name": "solr",
- "description": "Sets up environment for solr instances",
- "groupings": {
+ "conflicting": {
},
+ "description": "Sets up environment for solr instances",
"long_description": "= DESCRIPTION:\n\nSets up user and environment for running solr instances.\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu/Debian.\n\nRequires solr installed, such as a vendor plugin for a Rails application. Assumes 'start.jar' exists. Also requires ssh keys for solr user. See usage.\n\n== Cookbooks:\n\nOpscode cookbooks, http://github.com/opscode/cookbooks/tree/master:\n\n* capistrano (capistrano_setup)\n* java\n* runit (runit_service)\n\n= ATTRIBUTES: \n\n* solr[:user] - username for solr process and files/dirs.\n* solr[:uid] - UID for solr user.\n* solr[:group] - group name for solr files/dirs.\n* solr[:gid] - GID for solr group.\n\n= USAGE:\n\nTo create a solr instance for an application, use the solr_instance define:\n\n solr_instance \"my_app\" \n\nThe recipe assumes that id_rsa ssh key pair has been created for the solr user. The files should be located in the cookbook where the solr_instance is used (for example a site-cookbook). \n\nAlso create the runit run and log run templates. For now the directory to cd into needs to be specified in the run template. See the sample in this cookbook.\n\n== Parameters:\n\nOptionally specify a cookbook where the ssh keypair is located, otherwise generate keys and put the files in the solr cookbook. Empty files are located there for placeholders.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
}
View
@@ -3,7 +3,7 @@
license "Apache 2.0"
description "Sets up environment for solr instances"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
-version "0.8"
+version "0.8.1"
suggests "ruby"
recipe "solr", "Sets up environment for solr replication"

0 comments on commit f9560ff

Please sign in to comment.