Re: [Puppet Users] Hiera.yaml not interpolate variables

2014-05-08 Thread Brendan O7;Bra
Where is your hiera.yaml located? Default for puppet is /etc/puppet/hiera.yaml On Thu, May 8, 2014 at 8:21 AM, Israel Calvete wrote: > Hi, > > This is my hiera config. > > *---* > *:backends: - yaml* > *:hierarchy: - %{::environment}* > *- common* > *:yaml:* > * :datadir: > "/usr/s

Re: [Puppet Users] puppet for deployment of Java apps

2013-08-27 Thread Brendan O7;Bra
We use Puppet to deploy multi-tiered apps. Our apps are packaged as RPMs using the Maven RPM plugin (generally, we use RPM to express dependencies, such as Tomcat/Apache). For orchestration (setting up the DB before starting the app,for example) we use MCollective (calling the different tiers by s

Re: [Puppet Users] Puppet modules calling yum or repo's

2013-07-22 Thread Brendan O7;Bra
The files are pulled from the agents - i.e. "yum install foo" or "svn up" are run on the agent (and not the master). On Mon, Jul 22, 2013 at 12:54 PM, Worker Bee wrote: > Hi Everyone; > > I am sorry if this sounds like a dumb question but, I am trying to > troubleshoot an issue and want to make

Re: [Puppet Users] mcollective setup question

2013-05-29 Thread Brendan O7;Bra
Does /etc/mcollective/server.cfg look correct (port, servername, etc.)? Is activemq running (and on correct port)? iptables blocking anything? The MCollective module can make things a little easier, btw: https://forge.puppetlabs.com/puppetlabs/mcollective On Wed, May 29, 2013 at 2:12 PM, Mike Bo

Re: [Puppet Users] Dynamic association of recipes to nodes

2013-04-05 Thread Brendan O7;Bra
One word: Hiera. (ENCs also accomplish this) Here's a good overview of the choices available: https://puppetlabs.com/blog/the-problem-with-separating-data-from-puppet-code/ On Fri, Apr 5, 2013 at 8:19 AM, wrote: > Hi Guys !!! Just joined :) > > I have a question regarding the association of rec

Re: [Puppet Users] Nexus RPM artifact installation using Puppet

2013-03-25 Thread Brendan O7;Bra
I did this a few months back.. the pattern I used was: 1) resolve all RPMs using nexus resource type to machine 2) Turn the machine into a yum repo 3) Tell agents to use the machine as a yum repo But this had a few too many moving parts, so I settled on using this: https://code.google.com/p/nexus-

Re: [Puppet Users] OS specific configuration

2013-03-19 Thread Brendan O7;Bra
I think the "operatingsystem" fact is what you want: https://puppetlabs.com/blog/facter-part-1-facter-101/ On Tue, Mar 19, 2013 at 5:26 AM, Dragos R wrote: > Beginner question: > > I have a very simple configuration in site.pp for all agents. > > Is it possible to split actions based on operati

Re: [Puppet Users] how to customize hiera lookups per node?

2013-03-07 Thread Brendan O7;Bra
We use a "classifier pattern", using this as a starting point http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/ Basically, we have a few custom facts that tell a node what it is (the facts are set via a small MCollective plugin), and then the facts are consumed at Puppet runtime. 2 gotch

Re: [Puppet Users] Pattern for managing software versions?

2013-03-01 Thread Brendan O7;Bra
I use hiera to externalize the versions, like this: package{'jdk': ensure => hiera('jdk_version','present'), require => [ YumRepo['someyumrepo'] ], } And then just deliver yaml based on environment/version/whatever On Fri, Mar 1, 2013 at 4:42 PM, Schofield wrote: > I am curious to g

Re: [Puppet Users] Download and unzip to install a webapp

2013-02-10 Thread Brendan O7;Bra
+1 for packaging natively (deb, rpm, etc) and using the Puppet "package" resource to deliver/install it. Life will be much better this way ;) On Sun, Feb 10, 2013 at 2:18 PM, Jakov Sosic wrote: > On 02/10/2013 11:09 PM, Andreas Hilboll wrote: > >> Hi, >> >> I would like to install Piwik [*], wh

Re: [Puppet Users] Certificate nightmares

2013-02-06 Thread Brendan O7;Bra
Are you sure the master is running? This: Error: Could not request certificate: Connection refused - connect(2) seems like it might not be listening. On Wed, Feb 6, 2013 at 7:44 AM, Bret Wortman wrote: > I think I really hosed my certificates somehow this morning trying to get > PuppetDB and Pu

Re: [Puppet Users] Multiple hierarchies with Hiera

2013-01-31 Thread Brendan O7;Bra
I've followed this pattern: http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/ To accomplish basically the same thing. The structure of the hierarchy is static, but the values are are supplied are based on facts. So far, so good with this in my world. On Thu, Jan 31, 2013 at 6:38 AM, Sc

Re: [Puppet Users] Mcollective on puppet server and agent?

2013-01-30 Thread Brendan O7;Bra
I've had great luck with the fsalum activemq and example42 mcollective modules: http://forge.puppetlabs.com/fsalum/activemq http://forge.puppetlabs.com/example42/mcollective On Wed, Jan 30, 2013 at 2:19 AM, R.I.Pienaar wrote: > > > - Original Message - > > From: "snlsinghal 9" > > To:

Re: [Puppet Users] Re: How to do release managment integration with puppet?

2012-12-03 Thread Brendan O7;Bra
" But what these solutions have in common is that an individual at some point in time has to make some change to the puppet system." Please elaborate - Do you mean that someone has to "tell" Puppet about what versions to use? My ultimate solution will be emitting a manifest containg the names and

Re: [Puppet Users] Re: How to do release managment integration with puppet?

2012-12-03 Thread Brendan O7;Bra
This is a great thread - it's really nice to hear others are pondering similar challenges ;) Count me in as "Puppet does this well, I'm unclear what the issues are" I'm also in the process of pondering this very process. Here's what I've come up with (which seems very similar to James'): We are

Re: [Puppet Users] how to trigger puppet run on agents remotely

2012-10-31 Thread Brendan O7;Bra
MCollective will do this nicely : http://puppetlabs.com/mcollective/introduction/ On Wed, Oct 31, 2012 at 11:57 AM, Nishant Jain wrote: > Hello Everybody, > I am looking for a way to trigger puppet rum > remotely. so that i don't need to login into individual nodes and

Re: [Puppet Users] Re: PuppetConf speakers contact info

2012-10-01 Thread Brendan O7;Bra
+1 for slides. GREAT PuppetConf, btw ;) On Mon, Oct 1, 2012 at 10:59 AM, windowsrefund wrote: > If the speaker's contact information has not been published, there's > probably a good reason why. I'd suggest something along the lines of: > > "Hi, > > I am trying to reach ___ about their Prese

Re: [Puppet Users] Thoughts on job listings?

2012-05-30 Thread Brendan O7;Bra
-1 the lack of noise is appreciated on this list. How about another list instead? On Wed, May 30, 2012 at 1:49 PM, Michael Stahnke wrote: > How do folks feel about getting Puppet job listings on this list? > I've rejected a few that we quite spammy, but when the subject matter > really is a syst

Re: [Puppet Users] Puppet 2.7.12 on Windows

2012-03-21 Thread Brendan O7;Bra
Looks like it's having issues resolving the name of the Puppet master. Can you ping the hostname (that is set in puppet.conf) of the Puppet master? On Wed, Mar 21, 2012 at 7:02 AM, Jay Ze wrote: > Hi, > > I posted an other problem with puppet and windows weeks ago. > With the new Version 2.7.12

Re: [Puppet Users] puppet <=> puppet dashboard interoperability

2012-03-02 Thread Brendan O7;Bra
Have you setup Dashboard as an ENC? http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html On Fri, Mar 2, 2012 at 7:55 AM, Peter Berghold wrote: > Is there something on the puppet master or puppet agent that needs to be > tweaked for class assignments to be picked up form dasbhboard w