[Puppet Users] Variables redefine

2009-08-27 Thread Thomas Bellman
Evan Hisey wrote: >>> I think you should have >>> >>> class myclass ($passwd = "111") { >>> file {" >> this syntax is completely new to me, where is it documented? >> >> thanks and cheers pete >> > It is document under variable scope in the puppet language guide. The > short version or ru

[Puppet Users] Re: 0.25.0rc1, modules, and custom types

2009-08-27 Thread Larry Ludwig
This appears to be a known bug with 0.25. http://projects.reductivelabs.com/issues/2574 -L -- Larry Ludwig Reductive Labs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

[Puppet Users] Re: Failed to retrieve file from the server

2009-08-27 Thread jcbollinger
On Aug 26, 10:48 pm, ice jew wrote: > debug: > //Node[vm170.sina.com.cn]/user::filetest/File[/root/puppet/server_netstat.txt]: > File does not exist > debug: Calling fileserver.describe > err: > //Node[vm170.sina.com.cn]/user::filetest/File[/root/puppet/server_netstat.txt]: > Failed to

[Puppet Users] Re: Exported Resources: noob help please!

2009-08-27 Thread David Schmitt
Oded wrote: > David,how does the code you provided handle the removal of a "source" > node ? as far as i can tell the directory that contains the > concatenated_file_parts doesn't get purged on each puppet > iteration.so even after the "source" node stops exporting its > file_part the Concatena

[Puppet Users] Re: Facter and arrays? Or puppet and converting strings to arrays?

2009-08-27 Thread Paul Nasrat
2009/8/26 Matthias Saou : > > Hi, > > As often with puppet, I'm trying to do something I think is "simple", > yet I'm hitting a brick wall. > > What I want to do is have a client send back a list of members of a > system group so that the server can create some template-based > configuration files

[Puppet Users] Re: clients connect but file server get a cert error

2009-08-27 Thread Allan Marcus
not sure, but try putting the FQDN for the certname, not just vps200 --- Thanks, Allan Marcus 505-667-5666 On Aug 26, 2009, at 9:35 AM, ELTigre wrote: > > I'm running puppetmasterd (0.24.8) with apache2 and mongrel on a > debian host. Apache2, mongrel instances and puppetmaster runs in the >

[Puppet Users] Re: Facter and arrays? Or puppet and converting strings to arrays?

2009-08-27 Thread Matthias Saou
Paul Nasrat wrote : > > My problem here is that facter doesn't seem to be able to return > > anything other than strings. Is that the case? Because it would be > > really easier for me to have it return an array of the members : > > Correct currently facter is essentially a flat key value map. T

[Puppet Users] Re: Could not call puppetmaster.getconfig: #

2009-08-27 Thread Larry Ludwig
Hi, In order to help we need more context to your setup, are you using webrick or Passenger? what happens if you access the puppetmaster via your web browser? -L -- Larry Ludwig Reductive Labs --~--~-~--~~~---~--~~ You received this message because you are s

[Puppet Users] failure when converting a puppet object from a directory (ensure => directory) to a symlink that points to a directory... (bug?)

2009-08-27 Thread Elijah Wright
Reported this yesterday in #puppet, didn't get many responses, am now repeating it here for consideration. We're having an odd, sort of interesting issue with one of our puppet file objects. We've had it in place for several months, and are now trying to move the content to a directory on another

[Puppet Users] recommended way to rename the puppetmaster hostname

2009-08-27 Thread Asif Iqbal
Here are the steps I have so far. btw, my puppetmaster is not called `puppet' 1. add cname puppet 2. enable autosign 3. push a recipe to remove server = ... from all puppet clients 4. rename hostname of the puppetmaster 5. run puppetca to clear all certificates 6. login to every host and remove t

[Puppet Users] User's and managing expired passwords

2009-08-27 Thread Kyle Mallory
We have a policy that requires all user passwords to expire after 90 days. We also use puppet for managing all users on our machines. Our hope was, when our passwords expire, we could update the puppet manifest which would propogate to all our servers, thus updating all our passwords. The probl

[Puppet Users] Re: storeconfigs + environments issue

2009-08-27 Thread josbal
Hey Ohad, Does my puppet.conf from my puppetmaster help you? Cheers, Josh On Aug 27, 2:53 pm, josbal wrote: > Surething... > > [main] >     # Where Puppet stores dynamic and growing data. >     # The default value is '/var/puppet'. >     vardir = /var/lib/puppet > >     # The Puppet log direct

[Puppet Users] Re: User's and managing expired passwords

2009-08-27 Thread Len Rugen
Just thinking could the password change use notify of a "usermod -e new--dd-mm" command? On Thu, Aug 27, 2009 at 2:05 PM, Kyle Mallory wrote: > > We have a policy that requires all user passwords to expire after 90 > days. We also use puppet for managing all users on our machines. Our >

[Puppet Users] L.A. Puppet Master Needed for Configuration Management Roundtable at the UNIX Users Association of Southern California

2009-08-27 Thread Jordan Schwartz
Pardon the semi-spam, but I am hosting a Configuration Management Rountable presentation at the UNIX User Association of Southern California in Los Angeles on the evening of Thurs. Oct. 1st, and we need someone who can speak to puppet. We have speakers for cfengine and chef, and need someone with