lib/itamae-mitsurin/cli.rb in itamae-mitsurin-0.26 vs lib/itamae-mitsurin/cli.rb in itamae-mitsurin-0.27
- old
+ new
@@ -54,11 +54,11 @@
unless options[:host] || options[:vagrant]
raise "Please set '-h <hostname>' or '--vagrant'"
end
- run(recipe_files, :local, options)
+ run(recipe_files, :ssh, options)
end
desc "docker RECIPE [RECIPE...]", "Create Docker image"
define_exec_options
option :image, type: :string, desc: "This option or 'container' option is required."
@@ -67,10 +67,10 @@
def docker(*recipe_files)
if recipe_files.empty?
raise "Please specify recipe files."
end
- run(recipe_files, :local, options)
+ run(recipe_files, :docker, options)
end
desc "version", "Print version"
def version
puts "itamae-mitsurin v#{ItamaeMitsurin::VERSION}"