Remove host argument:

Currently the idea is to later implement a -h (or -t) option to the
command, and/or a `target' recipe keyword. Another option might be to
use the target/host key when the key/value registry will be implemented
and made available to the recipe and task DSLs.
This commit is contained in:
Thibault Jouan
2013-07-31 22:33:09 +00:00
parent 2acb57254f
commit 0aa043b61a
4 changed files with 21 additions and 14 deletions

View File

@@ -5,5 +5,5 @@ Feature: CLI usage
Then the exit status must be 64
And the output must contain exactly:
"""
Usage: producer host recipe_file
Usage: producer recipe_file
"""

View File

@@ -3,5 +3,5 @@ Given(/^a recipe with:$/) do |recipe_body|
end
When(/^I execute the recipe$/) do
run_simple('producer localhost recipe.rb', false)
run_simple('producer recipe.rb', false)
end