Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong method in set_cluster_name matcher #342
I've been digging around to see if I'm missing something so please feel free to tell me I'm wrong and point me in the right direction.
I've got a recipe that doing the following...
rabbitmq_cluster cluster_nodes do
Everything works just fine when we run this on our chef clients. My spec test, which is using
The matcher code contains the following...
def set_cluster_name(resource_name) # rubocop:disable AccessorMethodName
Why would :change_cluster_node_type be what the set_cluster_name matcher is looking for? Is that a cut-n-paste error?
Update: I modified my local copy of the matcher function to be the following and it worked fine. Is this the correct fix or is there something else going on that I'm missing?