mlafeldt / chef-runner

The fastest way to run Chef cookbooks
Apache License 2.0
179 stars 17 forks source link

Support test-kitchen's regex for platform names #23

Closed StephenKing closed 9 years ago

StephenKing commented 10 years ago

Thanks for test-kitchen support!

I'm not sure if it is technically possible, but I would appreciate it, if the syntax for specifying platform names would be in line with the one of test-kitchen.

I can do

kitchen converge debian

while I have to specify exactly

chef-runner default-debian-76

Or would this wildcard-matching contrary to chef-runners approach, because c-r always only targets one platform, not multiple (as possible with t-k)?

Feel free to directly close it, if it makes no sense to you!

Regards Steffen

mlafeldt commented 10 years ago

The current implementation is pretty dumb in that it only tries to parse .kitchen/<instance name>.yml. There's not a lot more magic to it.

What you're requesting is possible BUT:

Considering that I thought about adding multi-machine support some day, I might as well support Test Kitchen's regexp syntax. So I will keep that in mind. :)

mlafeldt commented 9 years ago

@StephenKing Implemented your request in #31. Will be part of the next release.