[Puppet Users] problem creating groups

2009-04-29 Thread Arnau Bria
Hi all, I think I have some kind of problem with my dependencies... so the problem is not user ceration related, I think. Cheers, Arnau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] Re: ssh_authorized_key completely ignoring "require"

2009-04-29 Thread Francois Deppierraz
seph wrote: > r...@mta-system:/tmp/ordering# puppet --verbose ordering-virtual.pp > info: Loading fact virtual > sh: Syntax error: Bad fd number > sh: Syntax error: Bad fd number > err: Could not create seph-2008: user seph doesn't exist > user seph doesn't exist Yes, this is likel

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-28, at 5:51 PM, josbal wrote: > After reading through all the documentation I can find and reading the > "Pulling Strings with Puppet" book i understand how easy it is to > create and maintain users and groups across all puppet clients, but > how do you define the passwords that go al

[Puppet Users] Update RPM through Puppet

2009-04-29 Thread Grezly
I'm using currently puppet 0.24.6 and I'm a new user to it. Now i would update all the clients to 0.24.8, i've allready got the rpm's. Is here a nice and clean way for to do this, because i couldn't find such a thing. --~--~-~--~~~---~--~~ You received this messag

[Puppet Users] Custom Types

2009-04-29 Thread jekhokie
Hello all! I am having trouble with custom types. I am simply trying to invoke a provider function to learn how the "type" and "provider" interact with each other, but I keep getting the same error message of "Could not find resource type filetest", with "filetest" being the resource I am trying

[Puppet Users] Puppet unusable on OSX 10.5.6 when installed using puppet-0.24.8.pkg

2009-04-29 Thread fpeters
Hi all, I just learned about puppet the other day and thought it very intriguing. Now I wanted to set up a test environment and dabble with it. Unfortunately I'm running into the following on my test OSX 10.5.6 (Intel) install: [ad...@osxclient ~] % puppetd -d /System/Library/Frameworks/Ruby.fra

[Puppet Users] Re: Update RPM through Puppet

2009-04-29 Thread Stéphan Gorget
I'm not sure this answer your question, but it could be part of the answer : http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#upgrading -- Stéphan Gorget On Wed, Apr 29, 2009 at 1:19 PM, Grezly wrote: > > I'm using currently puppet 0.24.6 and I'm a new user to it. > Now i w

[Puppet Users] Re: Puppet unusable on OSX 10.5.6 when installed using puppet-0.24.8.pkg

2009-04-29 Thread Nigel Kersten
You need to install facter before puppet. On Wed, Apr 29, 2009 at 4:54 AM, fpeters wrote: > > Hi all, > > I just learned about puppet the other day and thought it very > intriguing. Now I wanted to set up a test environment and dabble with > it. Unfortunately I'm running into the following on m

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom wrote: > > On 2009-Apr-28, at 5:51 PM, josbal wrote: > >> After reading through all the documentation I can find and reading the >> "Pulling Strings with Puppet" book i understand how easy it is to >> create and maintain users and groups across all pup

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Mike Renfro
On 4/29/2009 7:24 AM, Rob McBroom wrote: > A related question I have: How do you assign an initial password when > the account is created, but prevent Puppet from making that the > password every 30 minutes (should the user want to change it)? I think the vast majority of people use Puppet t

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-29, at 10:41 AM, Nigel Kersten wrote: > On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom > wrote: >> >> You can get an example for your particular system by running this as >> root: >> >> ralsh user username > > Note that to read an existing password hash, you'll probably need to >

[Puppet Users] Re: Puppet unusable on OSX 10.5.6 when installed using puppet-0.24.8.pkg

2009-04-29 Thread fpeters
Oh well, sorry Nigel. After posting I went to build from source and everything went allright. Somehow I assumed facter was bundled in the puppet pkg. Hopefully my next question won't be as stupid... Thanks, Fabian On 29 Apr., 16:40, Nigel Kersten wrote: > You need to install facter before pupp

[Puppet Users] Re: Puppet unusable on OSX 10.5.6 when installed using puppet-0.24.8.pkg

2009-04-29 Thread Nigel Kersten
no, it's cool. I've thought about trying to do this in an InstallationCheck or preflight script, but it's a bit complicated as people could be pulling in facter from a variety of locations, and it's not necessarily feasible to check everywhere. I'll update the download page to make it more expli

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 8:26 AM, Rob McBroom wrote: > > On 2009-Apr-29, at 10:41 AM, Nigel Kersten wrote: > >> On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom >> wrote: >>> >>> You can get an example for your particular system by running this as >>> root: >>> >>>     ralsh user username >> >> Note

[Puppet Users] managing the network on debian/ubuntu?

2009-04-29 Thread seph
What are people doing to manage the network under debian/ubuntu? I see examples of templating, but I'd rather a more resource based approach. http://hg.koumbit.net/module-network/ looks like the start of one, but it's pretty rough. Before I start hacking at it, does anyone have a nice solution h

[Puppet Users] Regular Expressions

2009-04-29 Thread jekhokie
Is there any way to use regular expressions within a custom type's provider, or are they not yet implemented within Puppet? If they are, do you simply execute them as usual according to regular Ruby syntax? --~--~-~--~~~---~--~~ You received this message because yo

[Puppet Users] Puppet and yum repositories

2009-04-29 Thread t.kend...@kew.org
I'm running puppet 0.24.6 on CentOS 5.2 from a puppetmaster on a virtual server to a variety of client servers both virtual and metal running either CentOS 5.2 or Fedora Core 10. I want to extend this to servers running RHEL 5 (and 6) in the near future. My problem is I have puppet set up with al

[Puppet Users] Re: Puppet Camp

2009-04-29 Thread lois
I live in downtown San Jose. If you need hands on the ground, I can certainly help. I can also provide one couch and floor space for sleeping bags. ;) (I won't volunteer to present because I'm not good enough.) lois 650-814-3245 On Apr 19, 1:34 pm, Paul Nasrat wrote: > 2009/4/19 Andrew Shafer

[Puppet Users] Puppet and yum repositories

2009-04-29 Thread t.kend...@kew.org
I'm running puppet 0.24.6 on CentOS 5.2 from a puppetmaster on a virtual server to a variety of client servers both virtual and metal running either CentOS 5.2 or Fedora Core 10. I want to extend this to servers running RHEL 5 (and 6) in the near future. My problem is I have puppet set up with al

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > hah. I did actually read that, but I didn't express myself well. > > I meant to point out explicitly that on OS X say, if you run this as > non-root, you'll get a user resource definition back, it just won't > contain the password. Ah, OK. Actu

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 12:27 PM, Rob McBroom wrote: > > On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > >> hah. I did actually read that, but I didn't express myself well. >> >> I meant to point out explicitly that on OS X say, if you run this as >> non-root, you'll get a user resource defin

[Puppet Users] Re: Puppet and yum repositories

2009-04-29 Thread Rune Stensø
I administer both RHEL4 and 5 with puppet, and all the software is on a local yum mirror. I use the yumrepo type in my base class, which all others depend on, and use some facts from facter to generate a uniq repo path based on both the version and architecture. I use something like this; baseurl

[Puppet Users] Re: Question about passwords

2009-04-29 Thread josbal
Thanks guys, This is what i was after. This ralsh thing makes thing alot easier :) Cheers. On Apr 30, 5:45 am, Nigel Kersten wrote: > On Wed, Apr 29, 2009 at 12:27 PM, Rob McBroom > wrote: > > > On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > > >> hah. I did actually read that, but I did

[Puppet Users] Re: Question about passwords

2009-04-29 Thread josbal
Further to this... If a user1 on server1 has uid 502 and in puppet i define user1 to have uid 500. When i add server1 to puppet, will puppet be able to change all the file permissions associated with user1? Or will it orphan all of user1's files? Thanks again. On Apr 30, 8:19 am, josbal wrote

[Puppet Users] Re: Question about passwords

2009-04-29 Thread RijilV
2009/4/29 josbal : > > Further to this... > > If a user1 on server1 has uid 502 and in puppet i define user1 to have > uid 500. When i add server1 to puppet, will puppet be able to change > all the file permissions associated with user1? Or will it orphan all > of  user1's files? > > Thanks again.

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Robin Sheat
On Thursday 30 April 2009 00:24:41 Rob McBroom wrote: > There's probably a way to generate the encrypted string without the > account actually existing first, but I don't know it. On Linux: mkpasswd -m md5 will do it for you. -- Robin JabberID: http://www.kallisti.net.nz/blog |||

[Puppet Users] Re: Puppet and yum repositories

2009-04-29 Thread Kelsey Hightower
The first thing I would do; split the repositories up. In your case I would have only the CentOS specific repositories available under "/etc/ yum.repos.d/" for CentOS. servers. There are several ways to achieve this. - During the Kickstart process add a repository specifically for CentOS or Fedo

[Puppet Users] Re: Update RPM through Puppet

2009-04-29 Thread Kelsey Hightower
Not sure if it would be worth it for you, but I have setup up a local "puppet" YUM repo to solve this very problem. I add updated RPM's from EPEL and then run "yum update" on the puppetmaster, and then the clients. On Apr 29, 7:19 am, Grezly wrote: > I'm using currently puppet 0.24.6 and I'm a n

[Puppet Users] Re: Regular Expressions

2009-04-29 Thread Kelsey Hightower
Based on a snippet from the group provider, it looks like the answer to your question is yes. Taken from: puppet/lib/puppet/type/group.rb munge do |gid| case gid when String if gid =~ /^[-0-9]+$/ gid = Integer(gid)

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-29 Thread Ohad Levy
On Fri, Apr 24, 2009 at 9:45 PM, Nigel Kersten wrote: > ... > > manifest (planning to release this btw), and I've been amazed at just > how much better Passenger/Rack performs compared to > Pound/Nginx/Mongrel. > How much did you tweak the passenger options? (e.g. PassengerMaxRequests, Passenger