summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2014-08-22 15:05:21 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2014-08-22 15:12:12 +0900
commite1cb04ddc62fecfb7813d402acd1be07b87ff98a (patch)
tree50f51a3772552e86ebc76a9c0c3845147d72bcc9 /bin
parent03ccf12484c19edba5b8d01f904a794b7164cefc (diff)
downloadchef-zero-e1cb04ddc62fecfb7813d402acd1be07b87ff98a.tar.gz
cherry-picked support-ssl commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-zero4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/chef-zero b/bin/chef-zero
index f72ea6c..dc58e68 100755
--- a/bin/chef-zero
+++ b/bin/chef-zero
@@ -58,6 +58,10 @@ OptionParser.new do |opts|
options[:data_store] = ChefZero::DataStore::RawFileStore.new(value)
end
+ opts.on("--ssl", "Use SSL with self-signed certificate(Auto generate before every run)") do
+ options[:ssl] = true
+ end
+
opts.on_tail("-h", "--help", "Show this message") do
puts opts
exit