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

Expand the run_list into the automatic=>recipes attribute #8

Merged
merged 2 commits into from
Dec 14, 2015

Conversation

eherot
Copy link
Contributor

@eherot eherot commented Nov 25, 2015

No description provided.

def fetch_role(name, included_by)
kitchen_root = Dir.pwd # yes, this is really how Kitchen does it internally
test_base_path = File.join(kitchen_root, Kitchen::DEFAULT_TEST_DIR)
roles_dir = File.join(test_base_path, 'roles')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, although I don't really know of a way to easily get at that variable from this namespace without significant re-instantiation of test-kitchen. If you have a suggestion for this I'll totally implement it.

@mwrock
Copy link
Owner

mwrock commented Nov 26, 2015

Thanks for this!! Added some comments.

@mwrock mwrock merged commit 8db0453 into mwrock:master Dec 14, 2015
@mwrock
Copy link
Owner

mwrock commented Dec 14, 2015

Thanks a bunch. Just made a small change. All tests are passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants