Hi Johnson,

Do you have any information on why PostgreSQL is taboo? It might help to
justify supporting additional back-end databases.

To solve your exported resources problem, you can use this as an example
https://github.com/simp/pupmod-simp-ssh/blob/master/lib/puppet/parser/functions/ssh_global_known_hosts.rb
.

Now, be aware that this will *not* synchronize between multiple servers
but, if you have a single master, it will work just fine. Alternatively, if
you have a shared filesystem it will also work.

We're working toward revamping these types of items to use a shared
synchronization system but it's not high priority at this time since most
places can use PuppetDB.

A better bet might be to take this snippet and turn it into something that
writes to a DB that you control and then have a Hiera backend that feeds
your your data as collected from that backend on a regular basis.

In Puppet functions, you have the entire catalog at your disposal and can
do with the data what you will.

Good Luck,

Trevor

On Fri, Dec 16, 2016 at 5:52 PM, Johnson Earls <darkfoxpr...@gmail.com>
wrote:

> Hello all,
>
> I was just wondering - has anyone come across a plugin or something that
> would allow the use of exported resources in Puppet 4.x *without* using
> PuppetDB?  The company I work for has declared PostgreSQL taboo within the
> corporate network and so I cannot run PuppetDB, and the lack of exported
> resources is really starting to grate.  I'm hoping someone has seen
> something out there that can help solve this for me :)
>
> Thanks in advance,
> - Johnson
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/95a0f132-7b41-4158-af41-8a9785646aa8%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/95a0f132-7b41-4158-af41-8a9785646aa8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699 x788

-- This account not approved for unencrypted proprietary information --

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CANs%2BFoWP%2B211_QL3Md4ukAg%2Bfx05339-DXig49Xt9gCV2suzcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to