lib/cloudstrap/config.rb in cloudstrap-0.37.6.pre vs lib/cloudstrap/config.rb in cloudstrap-0.37.9.pre
- old
+ new
@@ -66,17 +66,20 @@
@hdp_dir ||= File.expand_path(ENV.fetch('BOOTSTRAP_HDP_DIR') { dir })
end
Contract None => String
def hdp_bootstrap_origin
- lookup :hdp_bootstrap_origin
+ lookup(:hdp_bootstrap_origin) { 'https://release.stackato.com/downloads/hcp/bootstrap' }
end
alias hdp_origin hdp_bootstrap_origin
Contract None => String
def hdp_bootstrap_version
- lookup :hdp_bootstrap_version
+ lookup(:hdp_bootstrap_version) do
+ STDERR.puts pastel.yellow '# No version given, using default release'
+ '1.0.20-0-gda74de0'
+ end
end
alias hdp_version hdp_bootstrap_version
Contract None => String