[Puppet Users] Whats the best approach to create a repo of the installers to be used for installing and upgrading in the puppet managed nodes

2012-12-19 Thread Sivaraman Viswanathan
Lets take the example, I am having a jboss-4.2.3 installers as a .tar file. In general to install jboss, i ll 1. untar the jboss-4.2.3 into a prefefined folder (opt/server/jbossas/) into multiple servers 2. untar the openjdk into a preferined path (/opt/software/java)set the path in the bash.p

Re: [Puppet Users] Re: Python PIP and Centos 6

2012-12-19 Thread Joshua Vote
If anyone else is watching this issue: the pull request has been made and attached to issue - http://projects.puppetlabs.com/issues/18236 On Wednesday, December 19, 2012 9:58:06 AM UTC+8, Jakov Sosic wrote: > > On 12/18/2012 09:39 AM, Joshua Vote wrote: > > Yeah, I saw that function. Is there a

Re: [Puppet Users] Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7

2012-12-19 Thread Alex Harvey
On Thursday, December 20, 2012 4:49:33 AM UTC+11, Philip Brown wrote: > > > That being said, since puppet IS ruby code, "a large component of 'right'" > could reasonably be defined as "there should be a functional ruby gem for > it"! > And if that doesn't work for you there are two other consi

[Puppet Users] Changing Agent Environment Via Custom Fact

2012-12-19 Thread joel johnston
It is very likely that I don't completely understand the order of operations as they pertain to agent level variables (such as environment,) but I'm not seeing where this should be a problem. What I'm Trying To Do: Set environment on a host by setting a custom fact. How I'm trying to achieve

[Puppet Users] Announce: Facter 1.6.17-rc1 Available

2012-12-19 Thread Moses Mendoza
Facter 1.6.17-rc1 is a maintenance release candidate in the 1.6.x branch with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.17-rc1.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org

Re: [Puppet Users] passing parameters

2012-12-19 Thread Peter Brown
Have a look here. I am assuming you are running puppet 3 but the syntax is the same in 2.6 and 2.7. http://docs.puppetlabs.com/puppet/3/reference/lang_classes.html#using-resource-like-declarations On 20 December 2012 07:45, Michael Hüttermann wrote: > Hello, > > I use a parameterized class and

[Puppet Users] Announce: Hiera 1.1.2-rc1 available

2012-12-19 Thread Matthaus Owens
Hiera 1.1.2-rc1 is a release candidate in the 1.x series with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.2-rc1.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/hiera or by u

[Puppet Users] passing parameters

2012-12-19 Thread Michael Hüttermann
Hello, I use a parameterized class and declare it as a resource. How can I pass the parameters from outside any declaration or manifest, during runtime? For example, can I pass the parameters during a call of "puppet kick" ? Thank you. Best regards Michael -- You received this message becaus

Re: [Puppet Users] Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2012-12-19 Thread Jakov Sosic
On 11/28/2012 02:53 PM, krishna bhaskara rao wrote: > I tried after cleaning certificates in both the machines by using > "puppetca --clean --all" also, same error I am getting. > > Can any one provide a way to come out of this issue. Try to sync time on your machines (ntpdate ) . Maybe that's y

Re: [Puppet Users] Unable to connect to master...

2012-12-19 Thread Jakov Sosic
On 11/26/2012 11:11 AM, Rajeev Iyer wrote: > Hi , > > I need help here. I am running my master on RHEL 64 bit and I am > trying to connect my agent from Solaris running on Solaris 10. > I have put the entries for both master and agent on /etc/hosts. I have > also updated the /etc/puppet/puppet.c

Re: [Puppet Users] Puppet pushes facts even when I'm not including the module

2012-12-19 Thread Ramin K
On 12/19/2012 11:55 AM, David Kerr wrote: Howdy, I've got a module that's the equivalent of: /etc/puppet/modules/mymodule/lib/facter/myfact.rb myfact.rb seems to get pushed to all nodes regardless of whether or not i include mymodule for that node. my factpath is factpath = $vardir/lib/fa

[Puppet Users] Puppet pushes facts even when I'm not including the module

2012-12-19 Thread David Kerr
Howdy, I've got a module that's the equivalent of: /etc/puppet/modules/mymodule/lib/facter/myfact.rb myfact.rb seems to get pushed to all nodes regardless of whether or not i include mymodule for that node. my factpath is factpath = $vardir/lib/facter:$vardir/facts I'm on puppet v 3.0.0

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-19 Thread Matthew Burgess
On Wed, Dec 19, 2012 at 5:23 PM, krishna bhaskara rao wrote: > Hi John, > > Thank you for your response. > > But why should I create site.pp in agent node(Windows). As my understanding, > site.pp should be in puppet master server it self and it will execute the > catalog in agent node. > > Can you

Re: [Puppet Users] Web interface to Facter information, system config reporting?

2012-12-19 Thread Aaron Russo
I wrote a Mediawiki bot that connects to our puppet master, grabs all of the facter data that has been reported by clients, and shoves that into the host's page on our wiki. We format the facter data in our wiki by using a custom tag: . Once the bot runs, it expands to facter_value. I have this s

[Puppet Users] Re: Hiera, AIX, please help :)

2012-12-19 Thread llowder
On Wednesday, December 19, 2012 1:21:04 PM UTC-6, Worker Bee wrote: > > Hi Everyone; > > First, is my understanding correct that all boxes with agents >3.0 will > need to have hiera installed? I have gotten conflicting answers and I have > found different answers in the documentation as well.

[Puppet Users] Web interface to Facter information, system config reporting?

2012-12-19 Thread Forrie
In our department, we recently bought an install of HP's SIM agent -- it's some hacky configuration reporting and management platform that also facilitates firmware updates, etc. I don't care for it. For one, it requires root logins, but it also has agents that report -- it also may have the

[Puppet Users] Hiera, AIX, please help :)

2012-12-19 Thread Worker Bee
Hi Everyone; First, is my understanding correct that all boxes with agents >3.0 will need to have hiera installed? I have gotten conflicting answers and I have found different answers in the documentation as well. Can anyone clear this up for me? And, if it is needed.. has anyone gotten it work

[Puppet Users] cannot check in new clients to master certificate revoked

2012-12-19 Thread cblum...@gmail.com
I have migrated to a load balanced setup for puppet masters. Afterwards, I was able to check new clients in but that has suddenly stopped working. puppet 2.7.14 new setup: puppetca, acts as a master to puppetmaster servers n number of puppetmasters, acts as a puppetmaster to clients During the

Re: [Puppet Users] Template in site.pp

2012-12-19 Thread Rahul Somasunderam
Thanks! On Dec 19, 2012, at 9:33 AM, "R.I.Pienaar" wrote: > > > - Original Message - >> From: r...@certifydatasystems.com >> To: puppet-users@googlegroups.com >> Sent: Wednesday, December 19, 2012 5:21:10 PM >> Subject: [Puppet Users] Template in site.pp >> >> Can I use a template in

Re: [Puppet Users] Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7

2012-12-19 Thread Philip Brown
On Wednesday, December 19, 2012 6:14:48 AM UTC-8, jcbollinger wrote: > > > > > The time spent up front to do the job right often produces much more time > saved later on (indeed, that's a large component of "right"). In any case, > PuppetLabs provides pre-built packages for a lot of different

Re: [Puppet Users] Template in site.pp

2012-12-19 Thread R.I.Pienaar
- Original Message - > From: r...@certifydatasystems.com > To: puppet-users@googlegroups.com > Sent: Wednesday, December 19, 2012 5:21:10 PM > Subject: [Puppet Users] Template in site.pp > > Can I use a template in site.pp? > > I have a templates directory in my /etc/puppet directory wh

Re: [Puppet Users] Template in site.pp

2012-12-19 Thread denmat
Hi, I'm pretty sure there is a template directory config option in puppet conf which would default to /var/lib/puppet/templates (you'll need to verify this because I can't at the moment). If so you should be able to pass that on the command line like so, puppet agent --templatedir Of course yo

[Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-19 Thread krishna bhaskara rao
Hi John, Thank you for your response. But why should I create site.pp in agent node(Windows). As my understanding, site.pp should be in puppet master server it self and it will execute the catalog in agent node. Can you give me clarification on this If my understanding is wrong?. Same scenario

[Puppet Users] Template in site.pp

2012-12-19 Thread rsom
Can I use a template in site.pp? I have a templates directory in my /etc/puppet directory which has my template, but i get this error message: Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template 'server.xml.erb

Re: [Puppet Users] problems with puppetdb

2012-12-19 Thread Chris Price
Hi Ryan, The puppetdb process shouldn't be trying to manipulate the postgres process in any way--it should only be communicating with it via a socket, and the authentication should be based on the postgres database user account rather than the system user account. Are you seeing any errors in

Re: [Puppet Users] problems with puppetdb

2012-12-19 Thread Ryan Bond
It seems that once I cut over to postgres the puppet user was no longer able to launch puppetdb. The easy fix was changing the user to "root" in /etc/default/puppetdb...but I doubt this is something I'll want to leave in place. On Tue, Dec 18, 2012 at 5:17 PM, Peter Brown wrote: > On 18 Decemb

[Puppet Users] Re: Catalog compile times > 40s - Puppet 2.7.18

2012-12-19 Thread shurik
Hi We are tried to update puppet master from 2.6.6 to 2.7.18 and saw similar picture. Catalog compile time took ~60-120 seconds. Before this update compilation took about ~1-5 second. After upgrade average CPU usage increased from 10-20% up to 20-40%, during some activity (compilation?) ruby p

Re: [Puppet Users] Puppet Master Console not accessibel on EC2 instance.

2012-12-19 Thread Denmat
Hi, That address won't resolve very nicely. What is the publicly resolvable address for your node? Have you allowed 443 in your security groups to your node? HTH, Den On 19/12/2012, at 9:11, lalit jangra wrote: > Hi, > > I have an RHEL based EC2 instance where i have downloaded puppet 2.7 us

[Puppet Users] Storing files in filebucket in puppet

2012-12-19 Thread Sivaraman Viswanathan
Hi All, I want to create a central file server which serves as the source of my installers. These installers are nothing but a set of tar files. I am looking for a two manifests 1. First Manifest which can store these files initially into the central file server 2. Manifest which can download t

Re: [Puppet Users] Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7

2012-12-19 Thread jcbollinger
On Wednesday, December 19, 2012 12:06:12 AM UTC-6, Alex Harvey wrote: > > > > On Tuesday, December 18, 2012 2:02:28 AM UTC+11, jcbollinger wrote: >> >> [...] >> I avoid 'gem' on principle, relying instead on hosts' native package >> managers. It is a bad idea to mix multiple package managers wi

[Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-19 Thread jcbollinger
On Wednesday, December 19, 2012 5:47:50 AM UTC-6, krishna bhaskara rao wrote: > > Hi, > > I installed Open source puppet 3.0 .1in Windows machine and puppet master > 3.0.1 in red hat linux machine. I did all the necessary configurations. > C:\Documents and Settings\All Users\Application > Data

Re: [Puppet Users] early clean exit from module?

2012-12-19 Thread jcbollinger
On Tuesday, December 18, 2012 4:26:54 PM UTC-6, Ellison Marks wrote: > > Yeah, I thought it was something like that, just hadn't checked myself. > > As to flattening however, I don't think that's necessary on the user's > part. Include calls flatten on any array it is passed automatically. > W

[Puppet Users] puppetdb startup fail - after move of datadir

2012-12-19 Thread Klavs Klavsen
My puppetdb fails with this message: java -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d/config.ini java.io.EOFException: null at java.io.DataInputStream.readInt (DataInputStream.java:392) org.apache.kahadb.util.SequenceSet$Marshaller.readPayload (SequenceSet.java:41

[Puppet Users] Reg : Error in puppet agent in Windows

2012-12-19 Thread krishna bhaskara rao
Hi, I installed Open source puppet 3.0 .1in Windows machine and puppet master 3.0.1 in red hat linux machine. I did all the necessary configurations. C:\Documents and Settings\All Users\Application Data\PuppetLabs\puppet\etc\puppet.conf- > server = test.posmaster.internal Added entry in hosts fi