On 04/30/2018 06:29 PM, Joaquin Menchaca wrote:
> For pure-cluster pattern, I have to deploy all at once first, then put
> the config on all the systems.  For load balancer + web nodes, the
> eventual convergence with puppetdb (poor person's service discovery)
> would work, but clusters are all or nothing deal, eventual convergence
> would set off alarms.
>
> I am looking into roles/profiles w/ hiera (now roles/profiles w/ hiera
> + control repo), and trying to read up on this (and usign r10k).  It's
> a bit daunting starting out.
>
> I was wondering about these possibilities (if they are possibilities):
> (1) custom or external facts, command line, or ruby class, (2) ENC to
> pass in values, which reads current cloud config (gcp or aws) or local
> vagrant settings for dev, which can pass these values to the class. 

 custom facts will always be data generated on the client and submitted
to the master - which might not be safe to trust for important decisions
as you might send credentials to the client based on that data.

An ENC could provide any data you like - but you'll need to create an
own one.

Another possibility might be http://jerakia.io/ by Craig Dunn. which was
created to integrate different data sources. But more data sources ==
more external dependencies.

But none of these will run your puppet agents in correct order.


>
> Bolt has me curious.  I have dabbled around with it, running commands
> or a script to a remote node.  Are there other ways I could use this? 
> Could I use it to introduce custom facts, or inject values into
> puppetdb? hiera?  The docs are not all that intuitive (had to step
> through gem source code to discern how to use ssh transport for my
> environment).

I think bolt is still in its early stages.

- Thomas

-- 
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/9bea2742-d36d-db2b-b324-74feab10ff62%40chaschperli.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to