Sha256: 37fb6ed6cb8f778d50326e4d34a36ccada85e00f558698d7713b5aefb94d45ba

Contents?: true

Size: 704 Bytes

Versions: 9

Compression:

Stored size: 704 Bytes

Contents

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

  @slow_process
  Scenario: Exclude a block
    Given I write to "Berksfile" with:
      """
      group :notme do
        cookbook "nginx", "= 0.101.2"
      end
      
      cookbook "mysql", "= 1.2.4"

      group :takeme do
        cookbook "ntp", "= 1.1.8"
      end
      """
    When I run `knife berks install --without notme`
    Then the cookbook store should have the cookbooks:
      | mysql | 1.2.4 |
      | ntp   | 1.1.8 |
    And the cookbook store should not have the cookbooks:
      | nginx | 0.101.2 |

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
berkshelf-0.3.2 features/without.feature
berkshelf-0.3.1 features/without.feature
berkshelf-0.3.0 features/without.feature
berkshelf-0.2.0 features/without.feature
berkshelf-0.1.5 features/without.feature
berkshelf-0.1.4 features/without.feature
berkshelf-0.1.3 features/without.feature
berkshelf-0.1.2 features/without.feature
berkshelf-0.1.1 features/without.feature