[Puppet Users] Announce: PuppetDB 1.4.0 Available

2013-08-08 Thread Ken Barber
PuppetDB 1.4.0 is now available for download! This is a new feature release and the start of the 1.4 series of PuppetDB. === ## Downloads ## === Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.pup

[Puppet Users] Re: Will the puppetmaster compile a catalog if there are not changes?

2013-08-08 Thread rjl
Thanks Ellison! On Thursday, August 8, 2013 3:49:15 PM UTC-6, Ellison Marks wrote: > > The master won't recompile a catalog if there have been no changes on the > master's side, I believe. It will always send a catalog, if possible, to > the client, either a newly compiled one or an old one if i

[Puppet Users] Re: Will the puppetmaster compile a catalog if there are not changes?

2013-08-08 Thread Ellison Marks
The master won't recompile a catalog if there have been no changes on the master's side, I believe. It will always send a catalog, if possible, to the client, either a newly compiled one or an old one if it didn't need to recompile. On Thursday, August 8, 2013 1:09:32 PM UTC-7, rjl wrote: > > I

[Puppet Users] Will the puppetmaster compile a catalog if there are not changes?

2013-08-08 Thread rjl
I have been asked a question for which I cannot seem to find an answer. When a client contacts my puppetmaster, will the puppet master compile a catalog if there have been not changes to that clients configuration? Or, will the puppetmaster just say 'there are no changes to your catalog so you

Re: [Puppet Users] The handy Grail of Modules Standards

2013-08-08 Thread Alessandro Franceschi
On Thursday, August 8, 2013 1:45:44 AM UTC+2, Jakov Sosic wrote: > > On 08/06/2013 01:17 AM, Alessandro Franceschi wrote: > > > That's quite nice, I like the reduced verbosity of the code and > > essentiality of an all in one (init.pp) location for resources. > > Yeah, I don't like to partiti

[Puppet Users] Cannot see puppet agent in the master console

2013-08-08 Thread ytpo88
Hi, I am a brand new user evaluating puppet-enterprise 3.0 by following the quick start instructions. I have installed puppet master and a few puppet agents on some of my Linux servers. I started the master and the agent nodes. When starting the agents, I specified the the host name of the mast

[Puppet Users] Failed to parse template - undefined method `to_xs'

2013-08-08 Thread Jeff Thomassen
Hi I'm getting the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bireportweb/reportdbconfig.xml.erb: Filepath: /data/ss/svn/puppet/modules/bireportweb/templates/reportdbconfig.xml.erb Line: 16 Detail: undefined method `

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Ken Barber
For those following along at home, Luke and I continued to dig on IRC ... he was actually using HSQLDB not Postgresql it turns out. Doing queries on the database resulted in missing rows from resource_params for some reason, which a puppet run restored. We can't find a reasonable explanation for th

Re: [Puppet Users] node definition too big in mutualized hosting context

2013-08-08 Thread mezcalito38
> > Your core problem is that you have big data, and nothing we can suggest > will change that. So, what criteria are important to you in comparing > potential solutions? Without a better idea of what you're after, we're > just shooting in the dark. > > I have big data and I understand I can

[Puppet Users] Possible puppet bug, cannot login to dashboard error 500

2013-08-08 Thread Curtis Bell
Hey all thanks for reading, im comming across this error in the dashboard log and just wondered what some of you make of it Started GET "/?ticket=ST-1375959283rTkc4NT6Yy0pzoDuahD" for 149.5.65.2 at 2013-08-08 11:55:54 +0100 Started GET "/?ticket=ST-1375959354rw66ClZe1gYTaKSzdET" for 149.5.65.2

[Puppet Users] [JOB] Looking for a Puppet Trainer in Europe

2013-08-08 Thread walterheck
Hi All, I wanted to let you know that my company OlinData (http://olindata.com) is looking for a trainer for our European Puppet trainings. Requirements are simple: * love for spreading your knowledge * at least a bit of people skills (trainees are usually all sysadmins, so we speak the same

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Ken Barber
Wow. Good, don't do anything ... I'll reach out to you directly. On Thu, Aug 8, 2013 at 3:20 PM, Luke Bigum wrote: > > > On Thursday, August 8, 2013 2:14:33 PM UTC+1, Ken Barber wrote: >> >> > I think that's just me being too sensorship heavy and abusing copy and >> > paste, I would have copied s

[Puppet Users] Re: Newbie: Could not retrieve catalog from remote server: Error 400 on SERVER

2013-08-08 Thread jcbollinger
On Wednesday, August 7, 2013 6:03:17 PM UTC-5, Dan M wrote: > > I think I have found the fix... and it looks a little bit magical... Ruby > made... > > I was able to solve the problem by removing */etc/puppet/manifests * > folder. > It was empty at the moment of removal, but later on gets recrea

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Luke Bigum
On Thursday, August 8, 2013 2:14:33 PM UTC+1, Ken Barber wrote: > > > I think that's just me being too sensorship heavy and abusing copy and > > paste, I would have copied some fields from the same example. Trust me > that > > the resources dictionary was empty though ;-) > > So just to clari

Re: [Puppet Users] node definition too big in mutualized hosting context

2013-08-08 Thread jcbollinger
On Thursday, August 8, 2013 4:48:02 AM UTC-5, mezca...@gmail.com wrote: > > In your example using hiera, you put all vhosts config data in one yaml > file. This solution seems to be maintainable in this case but if I use this > solution for bind::zone datas the yaml file still be very big and d

[Puppet Users] Re: Adding Foreman to an existing Puppet master

2013-08-08 Thread walterheck
I just did a bunch of work in order to have puppet modules for the foreman that integrate with puppetlabs' modules. You can find them in http://github.com/olindata/puppet-foreman. It's a WIP, but it works for me for a CentOS 6 setup. Feel free to check it out. cheers, Walter On Wednesday, Aug

Re: [Puppet Users] Re: Puppet first run timing out

2013-08-08 Thread jcbollinger
On Wednesday, August 7, 2013 11:46:06 AM UTC-5, Cesar Covarrubias wrote: > > I am already using Passenger. My master is still being minimally utilized, > as I'm just now beginning the deployment process. In terms of specs, it is > running 4 cores and 8GB of mem and 4GB of swap. During a run, th

[Puppet Users] Re: node_aws installation problem

2013-08-08 Thread jcbollinger
On Wednesday, August 7, 2013 7:27:38 AM UTC-5, Piotr Jasiulewicz wrote: > > It's somewhat disappointing that puppet labs expresses commercialism in > such a nasty way, just breaking the free stuff and giving you an option to > pay for it... will try on a different system and then switch to Chef

Re: [Puppet Users] Checking for the existence of a file

2013-08-08 Thread Ted Fiedler
I have a base Samba config and then about 50 server specific samba shares. So I apply a base config to all the servers, then if that server has extra shares that are not in the base, it is included. On Wednesday, August 7, 2013 5:01:19 PM UTC-4, RIlindo Foster wrote: > > This line here: > > > c

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Ken Barber
>> No good idea yet, but there is something suspicious in your curl >> responses - the "resource" hash, did you obfuscate this yourself on >> purpose? The two hashes between the first and second requests are >> identical. That hash is calculated based on the sum of the resource, >> including parame

[Puppet Users] Re: Freebsd + Puppet 3.2.2 pkg_add -f ?

2013-08-08 Thread badgerious
Did you install puppet from ports? I did a 3.2.3 install recently and noticed that there is a patchin that port that reverts back to an older version of the freebsd package provider,

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Luke Bigum
On Thursday, August 8, 2013 12:48:03 PM UTC+1, Ken Barber wrote: > > > No good idea yet, but there is something suspicious in your curl > responses - the "resource" hash, did you obfuscate this yourself on > purpose? The two hashes between the first and second requests are > identical. That has

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Ken Barber
Well FWIW, I can't replicate this when I upgrade from 1.0.1 to 1.3.2, I even attempted to name things in the same way, no luck: https://gist.github.com/kbarber/6184213. Looking at the schema changes in code, not much has changed to do with parameters since 1.0.1 either: https://github.com/puppet

Re: [Puppet Users] Selector within a resource -- location & syntax

2013-08-08 Thread root
This of course was the answer, thanks. It did not look "right" to me to have that comma after the closing bracket, but that is what the language requires. On Monday, August 5, 2013 2:12:38 PM UTC-4, Steven VanDevender wrote: > > > > No comma after the conditional? Like this: > > m

[Puppet Users] Re: does PuppetDB expire resource parameters?

2013-08-08 Thread Nicolai Mollerup
Since you upgraded from 1.0 to 1.3.2 something has indeed happened in puppetdb so check your settings: http://docs.puppetlabs.com/puppetdb/1.3/release_notes.html#section-3 This talks about automatic node purging, which will deactivate exported resources aswell. /Nicolai -- You received this

Re: [Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Ken Barber
> We've come across a rather strange problem where the parameters of some > resources in PuppetDB are now empty. > > We have a Nagios server collecting resources from PuppetDB and we've started > to get failures like this for one resource type: > > Error: Could not retrieve catalog from remote serv

[Puppet Users] does PuppetDB expire resource parameters?

2013-08-08 Thread Luke Bigum
Hi all, We've come across a rather strange problem where the parameters of some resources in PuppetDB are now empty. We have a Nagios server collecting resources from PuppetDB and we've started to get failures like this for one resource type: Error: Could not retrieve catalog from remote serve

Re: [Puppet Users] node definition too big in mutualized hosting context

2013-08-08 Thread mezcalito38
> You might consider using create_resources with hiera. Here's a simple > example. > > yaml data > --- > apache::a2mods: >expires: {} >gnutls: {} >headers: {} >rewrite: {} > apache::vhosts: > statsstage.example.com: > priority: '99' > a_templa

Re: [Puppet Users] node definition too big in mutualized hosting context

2013-08-08 Thread mezcalito38
Le mercredi 7 août 2013 16:13:26 UTC+2, Mason a écrit : > > Assuming all the dns servers are getting the same config, We break big > chunks like that out into their own modules. So: > > node dns1.myco.com { > include myco::dns > } > > node web1.myco.com { > include myco::web > } > > If the se

Re: [Puppet Users] introducing puppetboard 0.0.1

2013-08-08 Thread Daniele Sluijters
Hey, That's awesome, let me know how it goes. I'm not sure how well it will be able to handle itself at the scale of your infrastructure but only one way to find out! -- Daniele Sluijters On Thursday, 8 August 2013 01:47:07 UTC+2, Erik Dalén wrote: > > Cool stuff will try it out. I think we m