Permalink
Browse files

added appropriate attributes

  • Loading branch information...
1 parent 189323a commit 1d414d6d1251bf1c78df6e242978128392572695 @ronniedada ronniedada committed Dec 13, 2012
Showing with 20 additions and 2 deletions.
  1. +18 −0 cookbooks/couchbase/attributes/setup-2.0.0.rb
  2. +2 −2 cookbooks/couchbase/metadata.json
@@ -0,0 +1,18 @@
+#
+# Cookbook Name:: couchbase
+#
+# Copyright RightScale, Inc. All rights reserved. All access and use subject to the
+# RightScale Terms of Service available at http://www.rightscale.com/terms.php and,
+# if applicable, other agreements such as a RightScale Master Subscription Agreement.
+
+# This is for Couchbase Server specific attribute
+
+set_unless[:db_couchbase][:edition] = "enterprise"
+set_unless[:db_couchbase][:bucket][:name] = "default"
+set_unless[:db_couchbase][:bucket][:password] = ""
+set_unless[:db_couchbase][:bucket][:ram] = "2000"
+set_unless[:db_couchbase][:bucket][:replica] = "1"
+set_unless[:db_couchbase][:cluster][:username] = "Administrator"
+set_unless[:db_couchbase][:cluster][:password] = "password"
+set_unless[:db_couchbase][:cluster][:tag] = ""
+
@@ -21,15 +21,15 @@
"replacing": {
},
"attributes": {
- "db_couchbase/version": {
+ "db_couchbase/edition": {
"description": "Couchbase Server Edition",
"recipes": [
"couchbase::setup-2.0.0"
],
"calculated": false,
"type": "string",
"default": "enterprise",
- "display_name": "CCouchbase Server Edition",
+ "display_name": "Couchbase Server Edition",
"required": "optional"
},
"db_couchbase/cluster/username": {

0 comments on commit 1d414d6

Please sign in to comment.