Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Puppet-Hiera consul backend

$
0
0
Please provide examples how to use the puppet-hiera module for Hiera backend consul. Below is my implementation: I am getting syntax errors on the backend_options paths statement. I am not sure if this is the right way to define hash inside puppet. class hiera_conf { class { 'hiera': backends => ['consul'], hiera_yaml => '/etc/puppetlabs/code/hiera.yaml', backend_options => { 'consul' => { 'host' => '127.0.0.1', 'port' => '8500', 'paths' => { '/v1/catalog/service', '/v1/catalog/node',"/v1/kv/application/%{deploy_path}", }, }, }, hierarchy => [ 'secure', "nodes/%{::hostname}", 'common', ], eyaml => true, } }

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>