Sha256: 050eab85919305b0ec6590308730b49a90800671bc6771fe181e6830b808f6ff

Contents?: true

Size: 380 Bytes

Versions: 21

Compression:

Stored size: 380 Bytes

Contents

When /^I create a data bag '(.+)' containing the JSON '(.+)'$/ do |bag, json|
  write_file "item.json", json
  run_simple "knife data bag create #{bag} -z -c knife.rb -d"
  run_simple "knife data bag from_file #{bag} -z -c knife.rb item.json"
end

Given(/^I create an empty data bag '(.+)'$/) do |databag|
  run_simple "knife data bag create #{databag} -z -c knife.rb", false
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
chef-vault-3.4.0.pre.pre417 features/step_definitions/chef-databag.rb
chef-vault-3.3.0 features/step_definitions/chef-databag.rb
chef-vault-3.3.0.pre.pre415 features/step_definitions/chef-databag.rb
chef-vault-3.3.0.pre.pre416 features/step_definitions/chef-databag.rb
chef-vault-3.3.0.pre.pre414 features/step_definitions/chef-databag.rb
chef-vault-3.2.0.pre.pre408 features/step_definitions/chef-databag.rb
chef-vault-3.2.0.pre.pre407 features/step_definitions/chef-databag.rb
chef-vault-3.2.0 features/step_definitions/chef-databag.rb
chef-vault-3.1.0 features/step_definitions/chef-databag.rb
chef-vault-2.9.2 features/step_definitions/chef-databag.rb
chef-vault-3.0.3 features/step_definitions/chef-databag.rb
chef-vault-3.0.2 features/step_definitions/chef-databag.rb
chef-vault-3.0.1 features/step_definitions/chef-databag.rb
chef-vault-3.0.0 features/step_definitions/chef-databag.rb
chef-vault-2.9.1 features/step_definitions/chef-databag.rb
chef-vault-3.0.0.rc2 features/step_definitions/chef-databag.rb
chef-vault-3.0.0.rc1 features/step_definitions/chef-databag.rb
chef-vault-2.9.0 features/step_definitions/chef-databag.rb
chef-vault-2.8.0 features/step_definitions/chef-databag.rb
chef-vault-2.8.0.rc1 features/step_definitions/chef-databag.rb