Sha256: 03939d3d4cac96ee44f9e339ae605783063ee80e1865f6925aff72070d2cb2e1
Contents?: true
Size: 380 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-vault-2.6.1 | features/step_definitions/chef-databag.rb |
chef-vault-2.6.0 | features/step_definitions/chef-databag.rb |