test-kitchen Questions
2
I am writing InSpec tests for some new Chef recipes I am working on. I would like to utilise the data_bags used by the cookbooks to iterate through the data bag items. I can't figure out how to acc...
Triviality asked 2/11, 2016 at 9:29
2
Solved
I am using Test Kitchen to test a cookbook. I would like to specify the version number of chef solo that will be installed. How can I specify a version number?
Reneerenegade asked 30/4, 2014 at 21:56
4
Solved
Every time I run
kitchen test
it downloads a new vm box. Is there a way to make it re-use a locally downloaded box?
Here is my .kitchen.yml file.
---
driver_plugin: vagrant
driver_config:
re...
Leid asked 11/2, 2014 at 9:11
6
Solved
I have a very boiler plate .kitchen.yml with the following:
---
driver:
name: vagrant
platforms:
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[webserver::default]
when I r...
Slr asked 16/8, 2016 at 23:43
2
Solved
When I run
kitchen test
or
kitchen test --log-level info
No logs that I have in my recipe under test ie.
Chef::Log.info("How to make appear in kitchen output?")
are displayed in kitchen...
Phraseograph asked 22/9, 2015 at 20:47
3
Solved
In test-kitchen, is there a way to update the instance created instead of destroying and recreating the instance every time? Say if I change in kitchen.yml and want to see that change, running the ...
Elated asked 27/6, 2014 at 16:33
2
Solved
I ran a test-kitchen instance and all was fine, but at the end when I did try to destroy it kitchen with:
roberto@pc:~$ kitchen destroy
Virtualbox gave me this error.
-----> Starting Kit...
Votyak asked 6/2, 2014 at 15:9
2
Solved
I am trying develop a cookbook to make a flask app work with gunicorn and nginx. I have been successful to the point that the app is running very well with a local sqlite database, see my cookbook ...
Ancier asked 25/1, 2016 at 22:53
3
I have my Chef cookbooks stored in chef/cookbooks/ folder. When running kitchen converge I am still getting notice
Berksfile, Cheffile, cookbooks/, or metadata.rb not found so Chef will run with ...
Crankcase asked 29/4, 2014 at 14:40
4
Solved
Many cookbooks, such as the mysql cookbook have multiple .kitchen.yml files. For example, mysql has a .kitchen.yml and a .kitchen-cloud.yml. Looking at documentation and code for test-kitchen, I ca...
Adaptive asked 22/10, 2014 at 20:19
3
I'm new to Chef and have been using Test Kitchen to test the validity of my cookbooks, which works great. Now I'm trying to ensure that environment-specific attributes are correct on production nod...
Riverine asked 23/4, 2015 at 2:27
2
I am investigating if ChefSpec report (with coverage) and Test Kitchen report
can be generated as junit format so they can be parsed then by Jenkins to publish results.
Or if there is some other fr...
Global asked 8/5, 2014 at 18:31
1
Solved
I'm trying to override attributes in the java cookbook with test-kitchen.
When I try run kitchen converge default-centos-64, a bad YAML error shows up.
---
driver:
name: vagrant
customize:
mem...
Vandavandal asked 22/4, 2014 at 15:53
1
© 2022 - 2024 — McMap. All rights reserved.