[Puppet Users] import in Ruby DSL

2011-04-01 Thread Master Cho
How does one do an import in the Ruby DSL? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.c

Re: [Puppet Users] ssh_authorized_keys - not adding keys ... (??)

2011-04-01 Thread Nick Steel
I thought that at one point in time as well. I did try adding a require => user["test.user"] with no luck. I later read that the require is implicit within ssh_authorized_keys... On Fri, Apr 1, 2011 at 6:01 PM, Scott Smith wrote: > Don't you want to require => User["test.user"] in your @ssh_au

Re: [Puppet Users] ssh_authorized_keys - not adding keys ... (??)

2011-04-01 Thread Scott Smith
Don't you want to require => User["test.user"] in your @ssh_authorized_keys resource? On Apr 1, 2011 12:24 PM, "Nick Steel" wrote: -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.co

[Puppet Users] .Net Developer Job Opening - Valencia, CA

2011-04-01 Thread Makro Tech
Hi This is Vignesh with Makro Technologies, Inc. We have been in business for over 10 years and we are one of the Fast 500 National IT staffing and Solution firms in USA. Our clients include country’s top-notch IT, Healthcare, Pharmaceutical, Financial, Telecom,Government and other industries. St

Re: [Puppet Users] PSON! Grrr!

2011-04-01 Thread Hugo Cisneiros (Eitch)
> > On Fri, Apr 1, 2011 at 11:07 AM, Douglas Garstang > wrote: > > These PSON messages are driving me crazy. It's not unusual to have to > > restart the client 3 times to get past it. Anyone know the cause? This is > a > > fresh install of the puppetmaster and puppet client on CentOS 5.5 with > >

Re: [Puppet Users] Puppet on Redhat 6

2011-04-01 Thread Stefan Schulte
On Fri, Apr 01, 2011 at 02:15:41AM -0700, JohnW wrote: > Hello > > I have been using puppet for a while now, more or less successfully on > SLES 11 and CentOS 5.5 > currently I am using puppet 2.6.6 > > I now am trying it out on redhat 6, and now i run into an problem with > even the simplest of

[Puppet Users] puppetdoc utf-8

2011-04-01 Thread Hugo Cisneiros (Eitch)
Hi, Is there any support for UTF-8 in puppetdoc? I see in the HTML output that it generates the document as iso-8859-1 and some characters in my language gets "corrupted" while displayinf the pages on browser. At the html's source, I can see the tags describing as iso-8859-1, and replacing it for

Re: [Puppet Users] poor mans puppet, can puppet work with a offline puppetmaster?

2011-04-01 Thread Nigel Kersten
On Fri, Apr 1, 2011 at 5:00 AM, S Ahmed wrote: > Could I use my local laptop as a puppet master, and only start up the > puppetmaster when I have a change I want to send over to the nodes? > Say I only have 1 server, and I don't want or even need a puppetmaster > running all the time. > Is this or

Re: [Puppet Users] PSON! Grrr!

2011-04-01 Thread Vince Taluskie
For what its worth, we are running into these PSON errors numerous times as well - preparing for our first puppet rollout and causing some questions internally. Running fresh install 2.6.4 on RHEL 5.5 - would love to help see this debugged. Vince On Fri, Apr 1, 2011 at 11:07 AM, Douglas Garstang

Re: [Puppet Users] Puppet on Redhat 6

2011-04-01 Thread Frank Sweetser
On 4/1/2011 5:15 AM, JohnW wrote: Hello I have been using puppet for a while now, more or less successfully on SLES 11 and CentOS 5.5 currently I am using puppet 2.6.6 I now am trying it out on redhat 6, and now i run into an problem with even the simplest of modules/classes The error I get is

[Puppet Users] Puppet on Redhat 6

2011-04-01 Thread JohnW
Hello I have been using puppet for a while now, more or less successfully on SLES 11 and CentOS 5.5 currently I am using puppet 2.6.6 I now am trying it out on redhat 6, and now i run into an problem with even the simplest of modules/classes The error I get is : debug: /Stage[main]/Motd/File[/e

[Puppet Users] ssh_authorized_keys - not adding keys ... (??)

2011-04-01 Thread Nick Steel
Hey folks - I'm running into some weirdness getting ssh keys realized properly. The manifest I'm working with is here: http://www.pastie.org/1744771 . I'm using 2.6.3 epel repo on a Centos 5.5 box . The expected behaviour is to have the user created and their public key put in their authorized_ke

[Puppet Users] puppet client certs & dns

2011-04-01 Thread FRLinux
Hello, First off, forgive me if that has been discussed before. Has there been any thought given to using dns records queried from the IP of a host where puppet is installed? Reason I'm asking is we had an issue in which our fqdn got screwed up in /etc/hosts in the form of node.example instead of

[Puppet Users] PSON! Grrr!

2011-04-01 Thread Douglas Garstang
These PSON messages are driving me crazy. It's not unusual to have to restart the client 3 times to get past it. Anyone know the cause? This is a fresh install of the puppetmaster and puppet client on CentOS 5.5 with puppet 2.6.4. Apr 1 17:04:14 rcss01 puppet-agent[1058]: Reopening log filesApr

Re: [Puppet Users] Re: test manifests?

2011-04-01 Thread Clay Caviness
On Thu, Mar 31, 2011 at 19:01, Nick Fagerlund wrote: > Anyway, I'm writing a short document about module testing now. Perfect. > If you see other things missing in the documentation, we love getting > tickets filed. > Will do! -- You received this message because you are subscribed to the

Re: [Puppet Users] Optional requires?

2011-04-01 Thread Dan Bode
On Fri, Apr 1, 2011 at 6:34 AM, Robin Lee Powell < rlpow...@digitalkingdom.org> wrote: > > A discussion on IRC about having classes that depend on each other > sometimes (i.e. a munin class that needs to do mysql-specific things > on those hosts where mysql is installed) reminded me of a feature >

Re: [Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-01 Thread Adam Heinz
Small copy/paste error: > augtool> print /files/etc/group/foo > Saved 1 file(s) Was actually: augtool> save Saved 1 file(s) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To

Re: [Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-01 Thread Adam Heinz
augtool> ins + after /files/etc/group/*[last()] augtool> set /files/etc/group/+/password : augtool> set /files/etc/group/+/gid : augtool> set /files/etc/group/+/user : augtool> save Saving failed augtool> print /augeas/files/etc/group/error /augeas/files/etc/group/error = "put_failed" /augeas/files

Re: [Puppet Users] wordpress.com and puppet, would they use it to update mysql db schema's also?

2011-04-01 Thread Richard Clark
On 1 Apr 2011, at 13:01, S Ahmed wrote: > What's the hint hint for, sorry I don't get it :) mCollective was acquired by puppet labs recently. haven't used it yet myself but it does look promising. -- Richard Clark rich...@fohnet.co.uk -- You received this message because you are subscribed t

Re: [Puppet Users] Re: Managing directories, recursively?

2011-04-01 Thread Arnau Bria
On Fri, 01 Apr 2011 15:22:03 +0200 Felix Frank wrote: Hi, just checking puppet mail list now. as the author of the "great" example I want to say that my main purpose was to say that instead of mkdir, you can declare as many dirs as you want and then, create some kind of relationship between them.

[Puppet Users] Re: Set password for local user account but not for remote accounts in LDAP/AD

2011-04-01 Thread rvlinden
hi john, thanks for your suggestions, i can certainly use the renewed declaration and I will have a look at the way you realized them, Rene -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googl

Re: [Puppet Users] Custom Puppet CA?

2011-04-01 Thread Jonathan Mills
What it tells me is that it won't work. That wiki page basically says you can let puppet sign things (using it's self-generated cert), or you can use your own cert and manually sign things yourself. It does not say you can use puppetmasterd/puppetca with your own custom CA cert. So in a way, yes

[Puppet Users] Re: Managing directories, recursively?

2011-04-01 Thread jcbollinger
On Mar 31, 4:45 pm, Forrie wrote: > This actually seems to work better: > >         file { "/usr/local/nagios": >                         ensure => directory, >                         owner  => 'root', >                         group  => 'root', >                         mode   => 655, >      

[Puppet Users] Optional requires?

2011-04-01 Thread Robin Lee Powell
A discussion on IRC about having classes that depend on each other sometimes (i.e. a munin class that needs to do mysql-specific things on those hosts where mysql is installed) reminded me of a feature I've wanted for some time in puppet, that I don't think I ever actually shared/asked about: I'v

Re: [Puppet Users] Re: Managing directories, recursively?

2011-04-01 Thread Felix Frank
On 03/31/2011 11:13 PM, Forrie wrote: > I found that the file struct under /etc/puppet/files was owned by root > (oops, fixed). > > However, > > in using this method outlined earlier, I'm still not able to get the > desired result: That's because this still isn't right. > >> file { "/usr/

[Puppet Users] Re: trouble with my virtual user setup

2011-04-01 Thread jcbollinger
On Mar 31, 6:00 pm, Maria Thompson-Saeb wrote: > Thanks, that helped.  My module appears to run now but not until the second > or third attempt with no changes being made. > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not find class virtual at > /data/puppe

Re: [Puppet Users] trouble with my virtual user setup

2011-04-01 Thread Felix Frank
Hi, try these steps first: 1. check $vardir/state/classes.txt on your client. It should contain your unixadmins class. Otherwise you have an inclusion problem 2. run puppet agent --test --evaltrace and look for your user/group. If they don't appear at all, something else is fishy. HTH, Felix O

Re: [Puppet Users] if statement: 'true' from left operand of 'in' expression is not a string

2011-04-01 Thread Denmat
Sorry that's probably a bit premature. Ignore me. On 01/04/2011, at 22:58, Denmat wrote: > Hi, > > Change > >> if $installplugins == true { >> 25 package { ["mypluginpackage", >> 26 ensure => installed } >> 27 } > > To this > >> if $installplugins { >> 25 package {

Re: [Puppet Users] wordpress.com and puppet, would they use it to update mysql db schema's also?

2011-04-01 Thread S Ahmed
What's the hint hint for, sorry I don't get it :) On Wed, Mar 30, 2011 at 11:26 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 03/29/2011 06:52 PM, Richard Clark wrote: > > On 29 March 2011 15:36, S Ahmed > > wrote: > > > > Say for example wordpre

[Puppet Users] poor mans puppet, can puppet work with a offline puppetmaster?

2011-04-01 Thread S Ahmed
Could I use my local laptop as a puppet master, and only start up the puppetmaster when I have a change I want to send over to the nodes? Say I only have 1 server, and I don't want or even need a puppetmaster running all the time. Is this or something close to this type of setup possible? -- Yo

Re: [Puppet Users] if statement: 'true' from left operand of 'in' expression is not a string

2011-04-01 Thread Denmat
Hi, Change > if $installplugins == true { > 25 package { ["mypluginpackage", > 26 ensure => installed } > 27 } To this > if $installplugins { > 25 package { ["mypluginpackage", > 26 ensure => installed } > 27 } Cheers, On 01/04/2011, at 20:19, Jan wrote

[Puppet Users] Re: Puppet Dashboard retrieving facts from inventory service

2011-04-01 Thread Vincent
It s work, I have adapt the auth.conf and add auth no : .. path /facts auth no method find allow dashboard .. Vincent On 1 avr, 08:22, Vincent wrote: > Hello, > > I am trying to use the Inventory feature of the Dashboard. > > I ve got this error > Inventory > Could not retrieve facts from inve

[Puppet Users] gems, ruby installs, and paths

2011-04-01 Thread Robin Lee Powell
I'm working on a system (not created by me, I swear) that has something like 5 different versions of ruby installed, including a couple of versions of jruby. I need to install a gem, but I need to use /opt/jruby/bin/gem (or jgem) to do it. Unfortunately, I can't see any way to modify puppet's pa

[Puppet Users] if statement: 'true' from left operand of 'in' expression is not a string

2011-04-01 Thread Jan
Hi *, using the following snippet of code .. [...] 7 if ! ($installplugins in [ true, false ]) { 8 fail("nrpe installplugins parameter must be true or false") 9 } [...] 24 if $installplugins == true {

[Puppet Users] Re: Use puppet to preconfigure gnome gvfs shares

2011-04-01 Thread spidernik84
On Mar 31, 9:36 pm, Christian Kauhaus wrote: > Am 31.03.2011 15:19, schrieb spidernik84: > Did I get the problem right? Did I miss something? Hi Christian, thanks for the reply. I would like to have puppet handle the whole process automatically, without manually specifying the user. The steps

[Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-01 Thread stefanero
Hi, well another try I did was augeas{ "groups ldap": context => "/files/etc/group", changes => [ "ins + after *[last()]", "set +/password :",