Sha256: 8767e202eb4d89aa1b897f9dba7f31ac9cadb054b6d385249f668bf8e750b1c0

Contents?: true

Size: 691 Bytes

Versions: 8

Compression:

Stored size: 691 Bytes

Contents

Feature: --without block
  As a user
  I want to be able to exclude blocks in my Cookbookfile
  So I can have cookbooks organized for use in different situations in a single Cookbookfile

  @slow_process
  Scenario: Exclude a block
    Given I write to "Cookbookfile" with:
    """
    group :notme do
      cookbook "nginx"
    end
    
    cookbook "mysql"

    group :takeme do
      cookbook "ntp"
    end
    """
    When I run `knife cookbook dependencies install --without notme`
    Then the following directories should exist:
    | cookbooks/mysql   |
    | cookbooks/openssl |
    | cookbooks/ntp     |
    And the following directories should not exist:
    | cookbooks/nginx |

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
knife_cookbook_dependencies_over_http-0.0.8.3 features/without.feature
knife_cookbook_dependencies_over_http-0.0.8.2 features/without.feature
knife_cookbook_dependencies_over_http-0.0.8.1 features/without.feature
knife_cookbook_dependencies_over_http-0.0.8 features/without.feature
knife_cookbook_dependencies-0.0.8 features/lib/chef/knife/without.feature
knife_cookbook_dependencies-0.0.7 features/lib/chef/knife/without.feature
knife_cookbook_dependencies-0.0.6 features/lib/chef/knife/without.feature
knife_cookbook_dependencies-0.0.5 features/lib/chef/knife/without.feature