Sha256: e7d3e7e69d0faef90cad9232ca8a284a3e13ce8a515bcf41635b30adc8d8d92c

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-vault-2.5.0 features/step_definitions/chef-databag.rb