Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute Paths for Suite Data Bags, Roles, and Nodes are Set to Nil #227

Merged
merged 2 commits into from
Nov 6, 2013

Conversation

sethvargo
Copy link
Contributor

I've found that when I place an absolute path for data bags, roles, or nodes in my .kitchen.yml file, it ends up being blank by the time the chef solo provisioner is run. I've done hacked my local copy of test-kitchen and figured out that that it's getting set to nil the new_suite method at config.rb:77. Commenting out the relevant entries in the path_hash is my current workaround but this is less than ideal.

Here is an example suite that shows the problem.

suites:
- name: default
  run_list: ["recipe[cookbook]"]
  data_bags_path: "/code/chef-data/data_bags"
  attributes: {}

After hours of complex debugging, @fnichol and @sethvargo have absolutely
no idea why requiring tempfile is necessary. However, if you don't, the
Internet breaks.

</end>
sethvargo added a commit that referenced this pull request Nov 6, 2013
@sethvargo sethvargo merged commit 3ceee24 into master Nov 6, 2013
@sethvargo sethvargo deleted the sethvargo/absolute_paths branch November 6, 2013 01:26
@fnichol
Copy link
Contributor

fnichol commented Nov 9, 2013

Nice!

BrentOnRails pushed a commit to BrentOnRails/test-kitchen that referenced this pull request Jul 17, 2017
Add support for "Assume Role" credentials
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants