Sha256: 4e2fb92bcb171c7957fca9746873d8bef4eb7f4092eb55409cf055f78b34ddb2

Contents?: true

Size: 530 Bytes

Versions: 15

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env ruby
require 'cucumber-chef'

# if we have bundler binstubs use that; otherwise attempt to detect
knife = (Cucumber::Chef.locate(:file, "bin", "knife") rescue "/usr/bin/env knife")

tag = Cucumber::Chef.tag("cc-knife")
puts(tag)
Cucumber::Chef.boot(tag)

ui = ZTK::UI.new(:logger => Cucumber::Chef.logger)
if (test_lab = Cucumber::Chef::TestLab.new(ui)) && test_lab.alive?
  test_lab.knife_cli([ARGV], :replace_current_process => true)
else
  puts("No running cucumber-chef test labs to connect to!")
  exit(1)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cucumber-chef-3.0.8 bin/cc-knife
cucumber-chef-3.0.7 bin/cc-knife
cucumber-chef-3.0.6 bin/cc-knife
cucumber-chef-3.0.5 bin/cc-knife
cucumber-chef-3.0.4 bin/cc-knife
cucumber-chef-3.0.3 bin/cc-knife
cucumber-chef-3.0.2 bin/cc-knife
cucumber-chef-3.0.1 bin/cc-knife
cucumber-chef-3.0.0 bin/cc-knife
cucumber-chef-3.0.0.rc.5 bin/cc-knife
cucumber-chef-3.0.0.rc.4 bin/cc-knife
cucumber-chef-3.0.0.rc.3 bin/cc-knife
cucumber-chef-3.0.0.rc.2 bin/cc-knife
cucumber-chef-3.0.0.rc.1 bin/cc-knife
cucumber-chef-3.0.0.rc.0 bin/cc-knife