Sha256: b57b270344068586c4505f5ee47b18a948e7c44805f428229f27bca4e58cf04f

Contents?: true

Size: 840 Bytes

Versions: 15

Compression:

Stored size: 840 Bytes

Contents

Feature: Detect and Warn for v1 Vaults
  chef-vault can read a v1 vault, but the management commands
  tend to break when they try to reference v2 fields like
  clients and admins.  They should detect and warn when trying
  to access a v1 vault

  Scenario: Add search query to v1 vault
    Given a local mode chef repo with nodes 'one,two,three' with admins 'bob'
    And I create a vault item 'test/item' containing the JSON '{"foo": "bar"}' encrypted for 'one,two,three'
    Then the vault item 'test/item' should be encrypted for 'one,two,three'
    And 'one,two,three' should be a client for the vault item 'test/item'
    And I downgrade the vault item 'test/item' to v1 syntax
    And I try to add 'bob' as an admin for the vault item 'test/item'
    Then the output should match /cannot manage a v1 vault.  See UPGRADE.md for help/

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chef-vault-3.4.0.pre.pre417 features/detect_and_warn_v1_vault.feature
chef-vault-3.3.0 features/detect_and_warn_v1_vault.feature
chef-vault-3.3.0.pre.pre415 features/detect_and_warn_v1_vault.feature
chef-vault-3.3.0.pre.pre416 features/detect_and_warn_v1_vault.feature
chef-vault-3.3.0.pre.pre414 features/detect_and_warn_v1_vault.feature
chef-vault-3.2.0.pre.pre408 features/detect_and_warn_v1_vault.feature
chef-vault-3.2.0.pre.pre407 features/detect_and_warn_v1_vault.feature
chef-vault-3.2.0 features/detect_and_warn_v1_vault.feature
chef-vault-3.1.0 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.3 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.2 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.1 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.0 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.0.rc2 features/detect_and_warn_v1_vault.feature
chef-vault-3.0.0.rc1 features/detect_and_warn_v1_vault.feature