Re: [Puppet Users] Exported resources from multiple sources?

2014-11-01 Thread Nick Cammorato
You'd have to mine the database and reconstruct the exported resource
as a resource, but it would be doable.  I was assuming strict
adherance to what an exported resource is wasn't really what Atom was
after.

--Nick

On Fri, Oct 31, 2014 at 9:28 AM, jcbollinger  wrote:
>
>
> On Thursday, October 30, 2014 12:00:21 PM UTC-5, Nick Cammorato wrote:
>>
>> I don't see why you couldn't write a hiera backend to do exactly this.
>> The current puppetdb hiera backend wouldn't be too hard to modify to
>> do it I don't think.
>>
>
> You couldn't write an Hiera back end to do this particular thing because
> Hiera is not involved in collecting exported resources.  You could write a
> DB-based Hiera backend that bridges networks, but it wouldn't be useful for
> exported resources.
>
>
> John
>
> --
> 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/dfb3ff9a-0f2b-421a-900e-e9c27cb88efa%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAKJ8aweAeTOu%2BCwF0GHy9abJ5zRfDhFniKGNRSDTLqYtuizhrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Exported resources from multiple sources?

2014-10-31 Thread jcbollinger


On Thursday, October 30, 2014 12:00:21 PM UTC-5, Nick Cammorato wrote:
>
> I don't see why you couldn't write a hiera backend to do exactly this. 
> The current puppetdb hiera backend wouldn't be too hard to modify to 
> do it I don't think. 
>
>
You couldn't write an Hiera back end to do this particular thing because 
Hiera is not involved in collecting exported resources.  You could write a 
DB-based Hiera backend that bridges networks, but it wouldn't be useful for 
exported resources.


John

-- 
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/dfb3ff9a-0f2b-421a-900e-e9c27cb88efa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Exported resources from multiple sources?

2014-10-30 Thread Nick Cammorato
I don't see why you couldn't write a hiera backend to do exactly this.
The current puppetdb hiera backend wouldn't be too hard to modify to
do it I don't think.

--Nick

On Thu, Oct 30, 2014 at 12:36 PM, Atom Powers  wrote:
> Is it possible, and how, to collect exported resources from multiple
> puppetdb sources?
>
> I have a network which, for policy reasons, can not connect back into
> the main network but the main network can connect into the partitioned
> network.
>
> I have a stand-alone puppet master in the partitioned network that
> generates stored resources for Nagios in exactly the same way as the
> main network.
>
> Is there a way for the puppet master on the main network to collect
> the stored resources from the partitioned network and the stored
> resources from the main network to build a Nagios server that checks
> both networks?
>
> Putting a single puppet master in the partitioned network isn't an
> option for the same reason that the network is a partitioned one.
>
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>
> --
> 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/CAF-H%3DO%3DYvnJQDo1Jm8sQoYDuQobE_%2BFjLjgpT9OiBYLAFQ5QeA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAKJ8awe0cdXyB-n9caxODAGVrkMdjh%2Bvqb7pfGFdOrqXf_s-9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Exported resources from multiple sources?

2014-10-30 Thread Atom Powers
Is it possible, and how, to collect exported resources from multiple
puppetdb sources?

I have a network which, for policy reasons, can not connect back into
the main network but the main network can connect into the partitioned
network.

I have a stand-alone puppet master in the partitioned network that
generates stored resources for Nagios in exactly the same way as the
main network.

Is there a way for the puppet master on the main network to collect
the stored resources from the partitioned network and the stored
resources from the main network to build a Nagios server that checks
both networks?

Putting a single puppet master in the partitioned network isn't an
option for the same reason that the network is a partitioned one.

-- 
Perfection is just a word I use occasionally with mustard.
--Atom Powers--

-- 
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/CAF-H%3DO%3DYvnJQDo1Jm8sQoYDuQobE_%2BFjLjgpT9OiBYLAFQ5QeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.