sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

Only set `name` if the parameters are not an array #569

Closed ikbenale closed 4 years ago

ikbenale commented 4 years ago

Description

This enables Multiple Service Definitions (https://www.consul.io/docs/agent/services.html#multiple-service-definitions) (and Multiple Checks Definitions) on a consul_definition.

Issues Resolved

https://github.com/sous-chefs/consul/issues/568

Check List

ramereth commented 4 years ago

@eReGeBe mind fixing the mdl error while you're at it so that it can run the full tests?

ikbenale commented 4 years ago

@ramereth done!