[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-04 Thread Duncan Hill
2009/8/4 Ohad Levy : > Hi, > > It does work, the main problem is that usually libs are dependents of other > rpms. > if you do it this way, you have to find out the  each and every lib rpm > which the application you actually want to use depends upon. Yum certainly handles this. What I have done

[Puppet Users] Re: ANNOUNCE: 0.25.0 Release Candidate 1 is out!

2009-08-04 Thread Duncan Hill
2009/8/4 James Turnbull : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is the rc1 release of Puppet 0.25.0. > > It is available at: > > http://reductivelabs.com/downloads/puppet/puppet-0.25.0rc1.tar.gz > New Language Features > - - > > Regular expression matchin

[Puppet Users] Puppet cannot find custom functions

2009-08-04 Thread Ben Lavender
Hello, I'm trying to do almost exactly what the cookbook at http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions is doing, namely, adding a custom hash function to determine what time cron should run. However, I can't get puppet to find my function. I've got it symlinked all over:

[Puppet Users] Re: check if package installed

2009-08-04 Thread Eric Heydrick
Facter plugin is one way. An easier way is to install the package with puppet and have the file require the package. -Eric On Tue, 4 Aug 2009, Alexey Wasilyev wrote: > > How can I check if some package installed in manifest? > Only by writing facter plugin? > > For example: > > if ssh_insta

[Puppet Users] check if package installed

2009-08-04 Thread Alexey Wasilyev
How can I check if some package installed in manifest? Only by writing facter plugin? For example: if ssh_installed { file{"/etc/ssh/sshd_config": source =>. } } Alexey Wasilyev Systems Administrator Grid Dynamics --~--~-~--~~

[Puppet Users] Re: ANNOUNCE: 0.25.0 Release Candidate 1 is out!

2009-08-04 Thread Todd Zullinger
James Turnbull wrote: > This is the rc1 release of Puppet 0.25.0. There are now packages for Fedora 10/11/rawhide and EL 4/5 in my testing repository at: http://tmz.fedorapeople.org/repo/puppet/ Please report any packaging or repository bugs to me and not to the Puppet or Fedora bug trackers

[Puppet Users] Re: Managing about 30 users?

2009-08-04 Thread Greg
Defines seem to be more like what you are after... Something like: # Use the type object to define anything that doesn't change... User { shell => "/bin/bash", schedule => daily } # Then a define with the stuff you want... # Assuming $HOME and $fileserver are defined somewhere accessible

[Puppet Users] Re: workarounds for bug #2141

2009-08-04 Thread Chad Huneycutt
On Tue, Aug 4, 2009 at 7:12 PM, David Lutterkort wrote: > > On Mon, 2009-08-03 at 16:03 -0400, Chad Huneycutt wrote: >> augeas { "/etc/exports-$vmname": >>                 context => "/files/etc/exports", >>                 changes => [ >>                         "set dir[.='/boots/$vmname'] /boot

[Puppet Users] PuppetCamp '09

2009-08-04 Thread Andrew Shafer
Puppeteers, We posted a page with some details about PuppetCamp and registration. http://reductivelabs.com/home/community/puppetcamp/ We'll keep making updates there. There's a strong core group coming together from around the world to learn and share. You are all invited and we hope you can ma

[Puppet Users] Re: Cry for Augeas grub.conf help!

2009-08-04 Thread David Lutterkort
On Tue, 2009-07-28 at 09:53 -0400, Trevor Vaughan wrote: > All, > > I'm trying to figure out the best way to use augeas to manage grub.conf. > > The issue is that I want users to be able to do whatever they like but: > > 1) The active, running, kernel should be the default *fallback* AFAIK, yo

[Puppet Users] Re: Augeas and grub.conf

2009-08-04 Thread David Lutterkort
On Fri, 2009-07-31 at 17:07 +0100, Trevor Hemsley wrote: > Also the grub lens only works if /boot/grub/grub.conf resides on the > same file system as /etc otherwise augtool craps out with an error about > being unable to save a cross file system link. Short of editing the lens > file, I'm not sure

[Puppet Users] Re: workarounds for bug #2141

2009-08-04 Thread David Lutterkort
On Mon, 2009-08-03 at 16:03 -0400, Chad Huneycutt wrote: > augeas { "/etc/exports-$vmname": > context => "/files/etc/exports", > changes => [ > "set dir[.='/boots/$vmname'] /boots/$vmname", > "set dir[.='/boots/$vmname

[Puppet Users] Re: Managing about 30 users?

2009-08-04 Thread Bryan Allen
+-- | On 2009-08-04 07:36:26, Mike Harding wrote: | | I have about 30 dev. and operation users on my machines, is there a | recipe anywhere for doing this? The best practices doc on the wiki is | incomplete and confusing

[Puppet Users] Managing about 30 users?

2009-08-04 Thread Mike Harding
I have about 30 dev. and operation users on my machines, is there a recipe anywhere for doing this? The best practices doc on the wiki is incomplete and confusing. Also, any workaround for the ssh_authorized_key bug in 24.8? All I really want to do is create users, home directories and put ssh

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

2009-08-04 Thread Mike Harding
I am just starting with puppet, and the intended use was to manage ssh keys. Is there an intended release to fix this, or some other way to get it working? On Jul 17, 1:14 pm, seph wrote: > As someone whose actively setting up and deploying puppet on new > machines, this bug is a huge annoyance

[Puppet Users] --fqdn not populating in manifest

2009-08-04 Thread Luke Baker
I think I must be doing something wrong, but I can't figure this out. I'm running my puppet client with a command like: puppetd --no-daemonize --fqdn puppettest.domain.com --onetime -- verbose However, in the manifest, $fqdn is set to the value determined by facter and not what was given at the

[Puppet Users] : 'unknown': I need something more specific.

2009-08-04 Thread Allan Marcus
Umm, I'm seeing this in my clients logs from puppetd, but only intermittently. Any any idea what it might mean? --- Thanks, Allan Marcus 505-667-5666 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] Re: puppet recipes

2009-08-04 Thread Asif Iqbal
On Tue, Aug 4, 2009 at 3:44 PM, Larry Ludwig wrote: > > > Why are you using exec type for user and group, when these types > already exist?  I didn't read the complete thread so I donno if this I am still learning. So I guess I could modify the newuser::newid like following class newuser {

[Puppet Users] Re: puppet recipes

2009-08-04 Thread Larry Ludwig
Why are you using exec type for user and group, when these types already exist? I didn't read the complete thread so I donno if this was discussed. The exec type should always be used as the last resort. -L -- Larry Ludwig Reductive Labs --~--~-~--~~~---~--~-

[Puppet Users] Re: puppet recipes

2009-08-04 Thread Asif Iqbal
On Mon, Aug 3, 2009 at 1:57 PM, Asif Iqbal wrote: > On Fri, Jul 31, 2009 at 3:43 AM, David Schmitt wrote: >> >> Asif Iqbal wrote: >>> On Wed, Jul 29, 2009 at 1:57 AM, David Schmitt wrote: Asif Iqbal wrote: > So I think I should start small and simple and it may grow to a > solution th

[Puppet Users] Re: command to list intra-class references?

2009-08-04 Thread John Ingersoll
On Mon, Jul 27, 2009 at 2:39 AM, David Schmitt wrote: > > You can use --graph to produce a .dot file with all resources from a > given compilation. Since references know both variables and aliases, > grep won't suffice anyways and I'm not sure even puppet could answer > this in the general case (

[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-04 Thread Akins, Brian
On 8/4/09 2:34 AM, "Avi Miller" wrote: > This will also create the oracle user and oinstall/dba groups, as well > as set sysctl.conf and limits.conf and everything else that usually has > to be done manually before you can install Oracle. :) Except, in my case, puppet controls those files :) --