Chef will pass a string to the name property so unless there's a coerce these aren't going to work the way you think it will. Here's the scenario I ran into
Even thought we pass in an array as the resource name it gets coerced to a comma separated string by Chef in the actual "name" property. Then when it gets passed onto feature_name it's also a string. If you're expectation was that you could accept arrays then that isn't the case.
Chef will pass a string to the name property so unless there's a coerce these aren't going to work the way you think it will. Here's the scenario I ran into
Even thought we pass in an array as the resource name it gets coerced to a comma separated string by Chef in the actual "name" property. Then when it gets passed onto feature_name it's also a string. If you're expectation was that you could accept arrays then that isn't the case.