[Puppet Users] Re: Video for last months's meeting is now online (Foreman)

2012-05-07 Thread Brian Gupta
My apologies, this was supposed to go to the puppet-nyc mailing list. :( -Brian On Tue, May 8, 2012 at 12:42 AM, Brian Gupta wrote: > Ohad did a great job covering Foreman. If you couldn't make it go > check it out! (Audio is a little low) http://youtu.be/CqX-heDl9VM > > You can also check it out

[Puppet Users] Video for last months's meeting is now online (Foreman)

2012-05-07 Thread Brian Gupta
Ohad did a great job covering Foreman. If you couldn't make it go check it out! (Audio is a little low) http://youtu.be/CqX-heDl9VM You can also check it out on archive.org if that's your preference: http://archive.org/details/Puppet-nycMonthlyMeeting-42012 You can find out more about Foreman her

[Puppet Users] [Environment] fileserver + auth.conf

2012-05-07 Thread Antidot SAS
Hi everyone, I am trying to introduce environment use in my puppet setup (Setup with gem/version 2.7.9 on debian squeeze): *1. On my master (Apache+passenger):* *puppet.conf* [main] pluginsync = true confdir = /etc/puppet ... modulepath= $confdir

Re: [Puppet Users] What is "Could not intern from pson" error??

2012-05-07 Thread Sans
Hi Jerry, That actually reminds me about something related. I also moved the * alias-name* from the old server on to th new one and used that alias-name as certname and server in my configuration. Should it be a problem? Any one can comment? Cheers!! On Monday, May 7, 2012 3:01:30 PM UTC+1, je

[Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-07 Thread jcbollinger
On May 7, 11:04 am, Philip Brown wrote: > On Monday, May 7, 2012 7:01:11 AM UTC-7, jcbollinger wrote: > > > user { 'alice': > >     ensure => present, > >     provider => 'nisuser' > > } > > > ensures the /etc/passwd contains the line > > > +alice:: > > > Those properties that make sense to

[Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-07 Thread jcbollinger
On May 7, 11:16 am, Philip Brown wrote: > Hmm.. after reading the solaris manpage, it seems that the "useradd" > command, allegedly only adds to local /etc/files stuff. > So that part could theoretically be fine for me... it's the "does user > already exist?" detection that is non-desired. > > B

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Christopher Wood
On Mon, May 07, 2012 at 12:26:32PM -0400, Derek J. Balling wrote: > > On May 7, 2012, at 11:54 AM, Nigel Kersten wrote: > > Yes. If you're not planning to externalize data at all, the only difference > > you'll see is that you'll now have Hiera installed on your system when you > > install Puppe

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Nigel Kersten
On Mon, May 7, 2012 at 9:26 AM, Derek J. Balling wrote: > > On May 7, 2012, at 11:54 AM, Nigel Kersten wrote: > > Yes. If you're not planning to externalize data at all, the only > difference you'll see is that you'll now have Hiera installed on your > system when you install Puppet 3.0. > > Cool

[Puppet Users] Re: certificate verification failed

2012-05-07 Thread iceberg
Yes, but nuke the certs on the master too - delete the /var/lib/puppet/ssl/certs/*. You want everything regenerated. On Saturday, May 5, 2012 10:22:47 AM UTC-7, Sans wrote: > > What exactly the procedure is? On the agent, I did this: > > # rm -f /var/lib/puppet/ssl/certs/* >> # puppet certifica

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Derek J. Balling
On May 7, 2012, at 11:54 AM, Nigel Kersten wrote: > Yes. If you're not planning to externalize data at all, the only difference > you'll see is that you'll now have Hiera installed on your system when you > install Puppet 3.0. Cool. Was really panicking there for a moment. I kinda like having

[Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-07 Thread Philip Brown
Hmm.. after reading the solaris manpage, it seems that the "useradd" command, allegedly only adds to local /etc/files stuff. So that part could theoretically be fine for me... it's the "does user already exist?" detection that is non-desired. But... I am not tracking how Puppet detects that. pro

Re: [Puppet Users] Template populated from multiple defines

2012-05-07 Thread Gabriel Filion
On 12-05-04 07:23 PM, Jared Curtis wrote: > I'm trying to create a file similar to this > > > Name User One > Phone 111222 > > > Name User Two > > > > I want to be able to add users in this fashion > app::users { > 'user1': name => 'User One', phone => '111222'

[Puppet Users] logrotate and augeas

2012-05-07 Thread Felice Pizzurro
Hi all, I have to modify logrotate conf file for rsyslog with augeas. I have this configuration: /var/log/syslog { rotate 7 daily missingok notifempty delaycompress compress postrotate reload rsyslog >/dev/null 2>&1 || true endscript } /var/log/mail.info

[Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-07 Thread Philip Brown
On Monday, May 7, 2012 7:01:11 AM UTC-7, jcbollinger wrote: > > > user { 'alice': > ensure => present, > provider => 'nisuser' > } > > ensures the /etc/passwd contains the line > > +alice:: > > Those properties that make sense to override locally are also > supported. Unfortun

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Nigel Kersten
On Mon, May 7, 2012 at 7:22 AM, Derek J. Balling wrote: > > On May 3, 2012, at 1:05 PM, Pieter van de Bruggen wrote: > > As many of you may be aware, Hiera will be tightly integrated into Puppet > in the upcoming release of Puppet 3.0. > > What will this mean for sites that have specifically avoi

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-07 Thread Munna S
Hi Team, sorry for the delay. My setup is like this. we have a 2 .pp file. one for production ( prod_base.pp) and other for development ( dev_base.pp) under /etc/puppet/manifests/nodes . we have included the respective module in these 2 .pp files. for eg: prod_base.pp has the below content

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-07 Thread Derek J. Balling
On May 3, 2012, at 1:05 PM, Pieter van de Bruggen wrote: > As many of you may be aware, Hiera will be tightly integrated into Puppet in > the upcoming release of Puppet 3.0. > What will this mean for sites that have specifically avoided using Hiera? I would presume that this should just mean "b

[Puppet Users] Re: puppet kick without LDAP

2012-05-07 Thread the_fonz
Thanks for the reply. Sudden;y dawned on me to to pipe an input file through xargs cat | xargs puppet kick I'll look at your method in more detail, thanks again. Cheers though, your method would be On May 7, 12:13 am, Christopher Wood wrote: > I'd write a cheap wrapper script, substituting p

[Puppet Users] Re: Using templates from another module

2012-05-07 Thread jcbollinger
On May 4, 8:52 am, Josh wrote: > > (or can I ... can you just use multi-line yaml formatting and get the > > template from there? Will give it a whirl) > > ...of course not, what was I thinking :( Surprising. Did you use inline_template() to (try to) process the template content? The templat

Re: [Puppet Users] What is "Could not intern from pson" error??

2012-05-07 Thread qutic development
I had this strange error after the first in resolv.conf registered (internal) dns-server died. After a restart of the dns-server the error was gone. On 06.05.2012, at 03:51, Sans wrote: > Dear all, > I'm getting this really annoying problem, where it's being failed > intermittently. The error

[Puppet Users] Re: forcing user resource provider to be local files only?

2012-05-07 Thread jcbollinger
On May 4, 8:55 am, Philip Brown wrote: > On Fri, May 4, 2012 at 1:18 AM, Luke Bigum wrote: > > Hi Philip, > > > What's wrong with letting Puppet decide on the provider automatically? > > > user { "luke": ensure => present, home => '/home/luke', password => > > 'zzz' } > > We use NIS

[Puppet Users] Re: Resource namespace issues with modules

2012-05-07 Thread jcbollinger
On May 4, 10:10 am, Alan Franzoni wrote: > Hello, > this is somewhat related to > > https://groups.google.com/forum/?hl=it&fromgroups#!topic/puppet-users... > > but I wanted to ask since it seems a more general issue. > > with puppet 2.7.14, puppet-module-tool has been pulled into core puppet, >

Re: AW: [Puppet Users] Re: What is "Could not intern from pson" error??

2012-05-07 Thread Sans
I've kinda 70 odd nodes but right now it's only three of them are talking to the master. As I mentioned earlier, Puppet was running just fine with all my nodes and setup for nearly a year until day before yesterday when I moved the master to the new SL6 node. This is the log from the puppet-ser

Re: [Puppet Users] Re: What is "Could not intern from pson" error??

2012-05-07 Thread Sans
Thanks Bernd, for your input. At least we are not alone! The errors are so lame it's hard to debug - run puppet on the same node a few times back to back and every time there was a different message: > [root@farm052 ~]# puppetd -t > info: Retrieving plugin > info: Loading facts in batch_system

[Puppet Users] Re: Template populated from multiple defines

2012-05-07 Thread jcbollinger
On May 4, 6:23 pm, Jared Curtis wrote: > I'm trying to create a file similar to this > >   >     Name User One >     Phone 111222 >   >   >     Name User Two >   > > > I want to be able to add users in this fashion > app::users { >   'user1': name => 'User One', phone => '111222';

Re: AW: [Puppet Users] Re: What is "Could not intern from pson" error??

2012-05-07 Thread Denmat
Okay, so how many clients are trying to connect? Webrick doesn't scale well (hence people put it behind apache or nginx). I see no specific reason that it should behave different under SL 5.x to 6.x. Test your clients one at a time and see if it works. If it does then you're coming up against

[Puppet Users] Remote-upgrading puppet-enterprise agents

2012-05-07 Thread Ger Apeldoorn
Hi, Today, I've upgrade my PE installation to version 2.5 and found that there is no way to remote upgrade your clients with puppet node install. I figured out how to do it, so I might as well share it. (I assume that you already got 'puppet node install' working) First, you need to create a c

AW: [Puppet Users] Re: What is "Could not intern from pson" error??

2012-05-07 Thread Bernd Adamowicz
I cannot help with this problem. But I'm facing the same issue from the very first time I'm using Puppet. It happens only on my Puppet master boxes. I'm running Puppet 2.6.12 on RHEL 5.5. If I can provide more information to help solving this issue, just let me know. Bernd Von: puppet-users@go

Re: [Puppet Users] Re: What is "Could not intern from pson" error??

2012-05-07 Thread Sans
Hi Den, My *puppetmaster* is a SL6 (Scientific Linux v6.2) and all my agents are SL5.4, running puppet-2.7.14 all around. I've seen people talking about apache/passenger stuff but I didn't do any thing extra, so I think. I'm still using WEBrick(??). It was perfectly fine, even the day before y