This PR is to add a new 'datacenters' property to consul_policy type thus allowing to create policies that are valid on specific datacenters only.
Make use of the Puppet validete_cmd. I think it makes most sense to valide the whole folder if purgeconfigdir is false and some additional configs exist.
<!--
Thank you for contributing to this project!
-->
<!--
add a additional arch check for consul version post 1.9.10, Hashicorp changed package name
-->
<!--
n/a
-->
<!--
Thank you for contributing to this project!
-->
Consul supports adding NodeMeta and ServiceMeta hashes to prepared queries. This PR allows the user to utilize this option with this Puppet module. Providing the hashes is optional.
n/a.
Hi,
this aims to solve #407.
I'm open to any improvements you'd like to have for this.
Could test it only on Ubuntu and Debian, thus set $bash_completion
only there on true.
If the user uses a package installation (like we do) he has to adjust $bin_dir
, depending on what package he uses. The package from HashiCorp (which we use) does not include bash completion.
Best regards
Jard
This is a trivial fix to set the token description at creation time.