Hiera allows multiple backends, YAML being one and also being the one
with which most people start, some of which can be non-static. If you
Google for Craig Dunn's blog you'll see an example where he uses a
backend which enables Hiera data retrieval from a CouchDB backend.
That particular example is one of my favorites examples of the
flexibility of Hiera.

As to how to get CF data into Puppet, I've not used CF enough to
venture a solid guess but the first thing I would do is look to see if
someone has a Forge module which presents user data as facter
variables. In the case of AWS/EC2 facts this is done, if memory
serves, via a Type and Provider that queries the 169.x node metadata
service embedded in AWS/EC2.

Feel free to let me know how that goes via direct email. I rarely have
time to keep up with the mailing list.

Cheers.



On Tue, Apr 1, 2014 at 1:09 PM,  <linuxhpc...@gmail.com> wrote:
>   Hello all, thanx in advance for listening to my sniffles as I am failing
> at solving this problem.
>
>   I have CloudFormation template that builds out some servers.  I have
> parameterized a few values like. DatabseName DataBaseUser DataBaseLocation
> and some others.  The problem I seem to be faced with is getting these
> values to puppet to perform the correct configuration steps.  I had a pretty
> good idea about how I could accomplish this, and then someone introduced
> .yaml files as part of hiera..  While I am not that impressed with hiera, it
> seems to introduce a-lot of static environment files to manage.  This is not
> a road our team wants to travel down.  If I am wrong about this I am
> certainly open to enlightenment, but from what I have read and witnessed,
> it's static.
>
>  So here I am, I have this CF template that asks for parameters that I need
> puppet to use for configuration.  Does anyone have any suggestions as I read
> on through all this documentation?
>
>
>  Thanks,
>
> J
>
> --
> 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/7d2b3b5a-87b5-4078-bff1-ab3e0ed49388%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
---
Nathan Valentine, Puppet Labs Professional Services

Join us at PuppetConf 2014, September 23-24 in San Francisco -
http://puppetconf.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2BsYer22UaQ%2B%2BxYcsm%3DrQkaZHRuSaK9jZrs1ytPadTqQKWXB1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to