Sha256: a797aace2e3c5ad13df38fd774645e4f4338d23b5aa87587d9f229e5db0ad50e
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
# # Author:: Hedgehog (<hedgehogshiatus@gmail.com>) # Copyright:: Copyright (c) 2011 Hedgehog. # Portions of this work are derived from the Chef project # The original license header follows: # # Copyright:: Copyright (c) 2008, 2010 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # World(::Cuken::Api::Chef::Knife) Given /^the Knife file "([^"]*)"$/ do |path| in_current_dir do chef.knife_config_file = Pathname(path).expand_path.realdirpath end end When /^I delete the Chef admin client "([^"]*)"$/ do |client_name| delete_client(client_name) end When /^I create the Chef admin client "([^"]*)"$/ do |client_name| create_client(client_name) end When /^I successfully run Knife's "([^"]*)"$/ do |cmd| run_knife_command(cmd, false) end When /^I interactively run Knife's "([^"]*)"$/ do |cmd| run_knife_command(cmd, true) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cuken-0.1.12 | lib/cuken/cucumber/chef/knife.rb |
cuken-0.1.11 | lib/cuken/cucumber/chef/knife.rb |
cuken-0.1.10 | lib/cuken/cucumber/chef/knife.rb |
cuken-0.1.9 | lib/cuken/cucumber/chef/knife.rb |