Sha256: fa84a1396c68a60a8ead6f7541e3293572dd76c4ae464e6351915b47eca63bf6

Contents?: true

Size: 1.44 KB

Versions: 35

Compression:

Stored size: 1.44 KB

Contents

Feature: cli/install



  Scenario: A simple Cheffile with one cookbook
    Given a file named "cookbook-sources/apt/metadata.yaml" with:
      """
      name: apt
      version: 1.0.0
      dependencies: { }
      """
    Given a file named "Cheffile" with:
      """
      cookbook 'apt',
        :path => 'cookbook-sources'
      """
    When I run `librarian-chef install --verbose`
    Then the exit status should be 0
    And the file "cookbooks/apt/metadata.yaml" should contain exactly:
      """
      name: apt
      version: 1.0.0
      dependencies: { }
      """



  Scenario: A simple Cheffile with one cookbook with one dependency
    Given a file named "cookbook-sources/main/metadata.yaml" with:
      """
      name: main
      version: 1.0.0
      dependencies:
        sub: 1.0.0
      """
    Given a file named "cookbook-sources/sub/metadata.yaml" with:
      """
      name: sub
      version: 1.0.0
      dependencies: {}
      """
    Given a file named "Cheffile" with:
      """
      path 'cookbook-sources'
      cookbook 'main'
      """
    When I run `librarian-chef install --verbose`
    Then the exit status should be 0
    And the file "cookbooks/main/metadata.yaml" should contain exactly:
      """
      name: main
      version: 1.0.0
      dependencies:
        sub: 1.0.0
      """
    And the file "cookbooks/sub/metadata.yaml" should contain exactly:
      """
      name: sub
      version: 1.0.0
      dependencies: {}
      """



Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
librarian-puppet-0.9.10 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.9 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-lmco-0.9.8.2 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.8 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7.5 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7.4 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7.3 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7.2 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7.1 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-maestrodev-0.9.7 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.7 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.6 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.5 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.4 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.3 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.2 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.2.pre vendor/librarian/features/chef/cli/install.feature
librarian-0.0.24 features/chef/cli/install.feature
librarian-puppet-0.9.1 vendor/librarian/features/chef/cli/install.feature
librarian-puppet-0.9.0 vendor/librarian/features/chef/cli/install.feature