so far about 99% of our use cases have
been taken care of by exported resources and PuppetDB
Your hiera_insert function looks to be the sort of thing we'd be able to
make good use of, even if we do have to change backend.
Would love to see the ability to incorporate encryption as well - then
we can hiera_insert an encrypted password/key/etc with some greater
confidence.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/532916B9.8080307%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
so far about 99% of our use cases have
been taken care of by exported resources and PuppetDB
Where controlling a system that is well modeled by puppet resources, host entries in /etc/hosts for example, exported resources work well. I find myself often wanting to just pick up strings and use them in templates. The only way I know how to do this in PuppetDB is to export a concat fragment resource.
Your hiera_insert function looks to be the sort of thing we'd be able to
make good use of, even if we do have to change backend.
Of the 'dynamic' backends, redis, postgres, etc which backend would you be most likely to use?
Would love to see the ability to incorporate encryption as well - then
we can hiera_insert an encrypted password/key/etc with some greater
confidence.
Can you expand a bit more on this? Do you mean a transparent encryption layer? Right now you could put an encrypted password into a redis key. We could also write a function to encrypt a plaintext string to the puppet master's public gpg key. That would enable hostA to have the plaintext and export only the encrypted version into redis, then hostB would receive the cleartext as well. I'm not sure how 'encrypted' hiera really works, since it always seems pointless to me.