Howdy! I'm looking to set up Jerakia with Puppet, but I'm running all of my puppet stuff out /opt. Would like to be able to point the config for jerakia there as well. Looks like I can do it with the env var, or by using it via hiera and setting :config in the hiera.yaml, but ideally there'd be some way to pass that via puppet, similarly to how I can pass hiera config path now. Is that a thing?
@akerl are you using it as a hiera backend or directly plugged into puppet as a data binding terminus?
@crayfishx I'm trying to use it directly as the data binding terminus. It looks like if I were using it as the hiera backend, I could put ":jerakia:\n:config: /path/to/my/file" in the hiera.yaml, but there doesn't appear to be an equivalent if I'm using it directly
@akerl Yeah - there is no obvious way around that as far as I can see - the data binding terminus would need to know the location of the jerakia.yaml file prior to initiating the instance, and you can’t add arbirary stuff to puppet.conf (that would have been a solution if it was possible)
You could possibly assume that it’s always under Puppet[:config] directory - but then you’d end up with the same issue hiera had where you had one .yaml for puppet and another one for command line