FAQ
Thanks for your response, but I can see me possibly having tons of yaml
files since it's very possible I may have 100 tomcat servers, all with the
same configuration. I don't think it will scale.

On Monday, April 8, 2013 11:57:10 AM UTC-7, Ygor wrote:

Based on your description, I would suggest the following:

Let's take tomcat as a specific example.
Assumption: You have a tomcat module that can be configured with
parameters.

Here is the suggestion: Add a hostname level to your heirarchy.

OK, so now for node hostx.example.org, you want this to be a tomcat
server. All you need do is put the appropriate parameters into
hostx.example.org.yaml

I am still a hiera n00b myself, so I am not totally sure exactly how to do
this, but I am working on it.

“Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

------------------------------
*From: *"Tony C" <tonyj...@gmail.com <javascript:>>
*To: *puppet...@googlegroups.com <javascript:>
*Sent: *Monday, April 8, 2013 2:43:41 PM
*Subject: *Re: [Puppet Users] Not custom facts, but variables?

sure, to be specific,

we have environments, dev, test, qa, stage, and prod. That part I got with
your help on my last post. Thank you.

Within these environments, we have applications. We only have a few apps.
So let's say some machines are oracle db machines, some are tomcat, and
some are apache.

I have yaml files for each, oracledb.yaml, tomcat.yaml, apache.yaml. Each
of these yaml files contain some key value pair that is specific to that
environment.

So when some machine is provisioned, I want to say this machine is a
tomcat machine, and I don't care what environment it since I will let the
agent conf figure that out. That way I can one puppet module for tomcat,
but different values per environment.

I hope that makes sense, and if my approach is completely wrong, I'm open
to hear some alternatives. Thanks again everyone.

--
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 <javascript:>.
To post to this group, send email to puppet...@googlegroups.com<javascript:>
.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 13 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedApr 8, '13 at 6:28p
activeApr 8, '13 at 8:18p
posts13
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase