Permalink
Browse files

Package URL is parametrized

  • Loading branch information...
1 parent 99e7e60 commit fd077b78237128a0b985be8c1fe34aed00e106ae @steveyen steveyen committed Jul 17, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 gen-pack
  2. +1 −1 membase.erb
View
@@ -8,6 +8,7 @@ require 'erb'
#
erb_path = ARGV[0]
num_instances = ARGV[1].to_i
+pkg_url = ARGV[2] || 'http://packages.couchbase.com/releases/1.7.0/membase-server-community_x86_1.7.0.rpm'
print ERB.new(IO.read(erb_path)).result(binding)
print "\n"
View
@@ -14,7 +14,7 @@
"MembasePackageURL" : {
"Description" : "URL to Membase software package",
"Type" : "String",
- "Default" : "http://packages.couchbase.com/releases/1.7.0/membase-server-community_x86_1.7.0.rpm"
+ "Default" : "<%= pkg_url %>"
},
"RESTPassword" : {
"NoEcho": "true",

0 comments on commit fd077b7

Please sign in to comment.