Re: [Puppet Users] Re: hiera consul backend Puppet 4.10

2017-09-17 Thread Justin DynamicD
services are registered to >> a node yet ... can't find a single working example. >> >> >> >> >> On Thursday, August 31, 2017 at 5:47:09 PM UTC-7, John Baird wrote: >>> >>> Justin, >>> >>> Funny, i'm dealing with

Re: [Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-09-16 Thread Justin DynamicD
I had a similar but "not quite the same" challenge. Basically I just added a custom ruby function to let you parse the data you're looking for. So in addition to lookup (), I now have things like consul_servicenames() which dumps all services presented by a host in an array format (handy for i

Re: [Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-31 Thread Justin DynamicD
I should let you > know that you CAN run lookup from CLI... > > "puppet lookup" should invoke exactly what "lookup" does from within > puppet, that's actually something they did amazingly well... > > On Thursday, August 31, 2017 at 11:29:02 AM UTC-5, J

Re: [Puppet Users] yumrepo still not working ?

2017-08-31 Thread Justin DynamicD
In the case of elasticsearch, that team has a rather robust module on the forge that will manage that for you (and is regularly updated, so it's very current)... which means you may be able to dig through their module and see how they are adding repos then run with that for other repos you want

Re: [Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-31 Thread Justin DynamicD
get really clever about how to manipulate things to get the exact key/value I want ... out of scope of this question though. Thank you for your help. On Wednesday, August 30, 2017 at 2:16:25 PM UTC-7, Henrik Lindberg wrote: > > On 30/08/17 18:23, Justin DynamicD wrote: > > Thanks fo

Re: [Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-30 Thread Justin DynamicD
ustom hiera_5 consul backend isn't going to happen. Can I use Hiera_5 syntax against a Hiera 3 backend? On Wednesday, August 30, 2017 at 4:31:11 AM UTC-7, Henrik Lindberg wrote: > > On 30/08/17 09:32, Justin DynamicD wrote: > > I finally was able to solve this issue on my own,

[Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-30 Thread Justin DynamicD
s question. On Tuesday, August 29, 2017 at 5:38:33 PM UTC-7, Justin DynamicD wrote: > > Quick update: > > I found out i can run "hiera " successfuly on the server as long > as I link the the file to the path approrpiate to the hiera command > (designated with a 

[Puppet Users] Re: hiera consul backend Puppet 4.10

2017-08-29 Thread Justin DynamicD
re supicious of a syntax issue. Also ... is hiera something we _only_ need to function on the server? or is the server going to let the local client try to process the hiera lookup? Basically I have no idea where I have to ensure hiera is running properly. On Tuesday, August 29, 2017 at 4:1

[Puppet Users] hiera consul backend Puppet 4.10

2017-08-29 Thread Justin DynamicD
Hi, anyone have some good concise examples on how to setup using a consul backend in hiera? I've attempted with little luck to get this backend to work. So far these are the steps I've tried: 1. Imported lynxman/hiera-consul into in the Puppetfile 2. Modified puppetserver.conf "ruby-load-pa