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

Added renamed parameters metrics_prefix, statsd_address, statsite_address #579

Closed MichaelKueller closed 3 years ago

MichaelKueller commented 3 years ago

Added renamed parameters. Currently they can only be set by their old names, which does not seem to work

Description

The three parameters metrics_prefix, statsd_address, statsite_address can currently only be set by their old names (they were renamed in version 1.0.0). Adding these as parameters provides the option to set them as attributes by their current names, and not having to rely on the rename on the automatic renaming in lines 315-324, which does not seem to work (in my case I always got an error that the immutable node object cannot be changed when this renaming logic was used)

Check List

kitchen-porter commented 3 years ago
1 Warning
:warning: This Pull Request is probably missing tests.

Generated by :no_entry_sign: Danger