- From: Daniel Givens <
>
- To: "
" <
>
- Subject: [chef] test-kitchen, chef-zero, and data bags
- Date: Sun, 15 Dec 2013 14:35:16 +0000
- Accept-language: en-US
I'm setting up test-kitchen for the first time and using the chef-zero
provisioner. I'm not having any luck with chef-zero loading the data bags,
roles, and environments when test-kitchen runs. I've verified that they are
all being put into /tmp/kitchen-chef-zero and I can load them manually.
Here's a snippet from my .kitchen.yml:
---
provisioner: chef_zero
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: debian-7.2
driver_config:
box: debian-7.2
box_url:
https://dl.dropboxusercontent.com/u/197673519/debian-7.2.0.box
suites:
- name: default
encrypted_data_bag_secret_key_path: "../../../.chef_test/secret-file"
data_bags_path: "../../../.chef_test/data_bags"
roles_path: "../../../.chef_test/roles"
environments_path: "../../../.chef_test/environments"
environment: "dev"
...
To get the data bags, etc. out of my chef server, I used the backup_export.rb
knife plugin I found here and they all load fine with a 'load from file':
https://github.com/stevendanna/knife-hacks/tree/master/plugins
Any help would be appreciated!
--
Daniel Givens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- [chef] test-kitchen, chef-zero, and data bags, Daniel Givens, 12/15/2013
Archive powered by MHonArc 2.6.16.