[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread John Ferlito
On Mon, Dec 22, 2008 at 04:47:53PM -0700, Tim Harper wrote: > > I want to run puppet in the cloud. The trouble is, the fqdn fact is > quite random and looks something like "domU-12-32-19-01-B8-D1". > > I'm OK with deploying the cert pair and configuring puppetd to use the > same cert on every b

[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread Adam Jacob
On Dec 22, 2008, at 3:59 PM, Tim Harper wrote: > When I boot up a fresh image, I'd like it to apply the "general" > configuration. Then, I'm going to save the image for future use. > > Later, I'm when I boot up one of the more specialized machines (like > www-server), I'd like it to restore t

[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread Adam Jacob
On Dec 22, 2008, at 3:59 PM, Tim Harper wrote: > That's half of the battle. The other half is getting the puppet > master to select the appropriate node configuration. > > I'd like to create the following nodes: > > general > |- www-server > |- db-server > |- sb-server > |- memcache-server > >

[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread Tim Harper
On Mon, Dec 22, 2008 at 4:52 PM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 3:47 PM, Tim Harper wrote: > >> >> I want to run puppet in the cloud. The trouble is, the fqdn fact is >> quite random and looks something like "domU-12-32-19-01-B8-D1". >> >> I'm OK with deploying the cert pair

[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 3:47 PM, Tim Harper wrote: > > I want to run puppet in the cloud. The trouble is, the fqdn fact is > quite random and looks something like "domU-12-32-19-01-B8-D1". > > I'm OK with deploying the cert pair and configuring puppetd to use the > same cert on every box. Howev

[Puppet Users] select node to use from the client side?

2008-12-22 Thread Tim Harper
I want to run puppet in the cloud. The trouble is, the fqdn fact is quite random and looks something like "domU-12-32-19-01-B8-D1". I'm OK with deploying the cert pair and configuring puppetd to use the same cert on every box. However, I need to be able to select which node configuration in the

[Puppet Users] Re: better emacs puppet-mode?

2008-12-22 Thread James Turnbull
Russ Allbery wrote: > gary writes: > >> Anyone try to extend puppet-mode for emacs? I'm trying to figure out >> how to get tags working as well as code completion and snippets >> (snippets.el). Just getting started and my Elisp is not so great. :) >> Maybe others have given this a start? I'd be h

[Puppet Users] Re: better emacs puppet-mode?

2008-12-22 Thread Russ Allbery
gary writes: > Anyone try to extend puppet-mode for emacs? I'm trying to figure out > how to get tags working as well as code completion and snippets > (snippets.el). Just getting started and my Elisp is not so great. :) > Maybe others have given this a start? I'd be happy to submit a patch > ag

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread James Turnbull
Robin Lee Powell wrote: > Probably because I'm used to cfengine, where all the master does is > send the files to the clients that then do what the files say. > > I gather that's not how Puppet works, but looking at > http://reductivelabs.com/trac/puppet/wiki/BigPicture > and http://reductivelabs.

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Peter Meier
Hi >> Pay attention to the fact that inheritance in nodes is slightly >> different than in classes. The Best thing imho is to build such >> inheritance in the classes itself and leave any inheritance out of >> the node definitions. > > Can you explain that in a bit more detail? Some of that I e

[Puppet Users] class from module not evaluated any more

2008-12-22 Thread udo waechter
Hello puppet-users. I have a really strange problem since some days. puppetmasterd is 0.24.5-2 (Debian etch) puppetd are 0.24.4 (Ubuntu hardy desktop/server), 0.24.5-2 (Debian etch), 0.24.5 (Darwin, 10.5.[56], Darwin 10.4 Server) I have a class: class ikw::sge::exechost { include sge::sub

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread Eric Singer
On Dec 22, 1:34 pm, Adam Jacob wrote: > On Dec 22, 2008, at 4:49 AM, Eric Singer wrote: > > > > > Hi, > > I'm the UNIX systems administrator at the company I work for and we're > > in the planning stage of setting up LDAP and Puppet servers.   For > > high availability we're current thinking ab

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:59 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:47 AM, Carl Caum > wrote: > > On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > >> >> >> On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum >> wrote: >> Most plist management can be done with the defaults command.

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
So for future reference, it turns out system profiler (GUI or command line) is somewhat broken in VMWare with OS X Server. It doesn't report any hardware info at all, and spews to stderr for SPHardwareDataType and SPMemoryDataType. There's a simple enough workaround that I'll test before patching

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Kyle Crawford
For testing you could edit the facter ruby code to return hardcoded values instead of running system profiler. I think it just adds everything to a hash then prefixes it with 'sp' if I remember correctly. I've edited ours to return other data. Kyle On Dec 22, 2008, at 1:02 PM, Carl Caum wr

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 01:21:23PM -0600, Evan Hisey wrote: > > On Mon, Dec 22, 2008 at 1:02 PM, Robin Lee Powell > wrote: > > > > On Mon, Dec 22, 2008 at 10:40:05AM +0100, Peter Meier wrote: > >> > >> Hi > >> > >> > Debug output of the client run follows. No, I didn't update the > >> > master;

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 03:08:44PM +0100, Peter Meier wrote: > > Pay attention to the fact that inheritance in nodes is slightly > different than in classes. The Best thing imho is to build such > inheritance in the classes itself and leave any inheritance out of > the node definitions. Can you e

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Evan Hisey
On Mon, Dec 22, 2008 at 1:02 PM, Robin Lee Powell wrote: > > On Mon, Dec 22, 2008 at 10:40:05AM +0100, Peter Meier wrote: >> >> Hi >> >> > Debug output of the client run follows. No, I didn't update the >> > master; why would I do that? This is about functionality on the >> > client, not the ma

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 10:40:05AM +0100, Peter Meier wrote: > > Hi > > > Debug output of the client run follows. No, I didn't update the > > master; why would I do that? This is about functionality on the > > client, not the master. Is it actually necessary that the > > *master* have Augeas

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread Adam Jacob
On Dec 22, 2008, at 4:49 AM, Eric Singer wrote: > > Hi, > I'm the UNIX systems administrator at the company I work for and we're > in the planning stage of setting up LDAP and Puppet servers. For > high availability we're current thinking about dedicating two of our > lower end Linux servers fo

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
Ok, yeah. That's what I was thinking. I can't test this on physical hardware since both our physical XServes are in production. I'll see if I can get a mac mini ordered. On Dec 22, 2008, at 11:57 AM, Crawford Kyle wrote: > Is the client running on Mac hardware and not in a VM? Seems like

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum > wrote: > Most plist management can be done with the defaults command. It > means we exec out everytime, but we could write a definition/plugin > around it. > > It also has the sometimes u

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 9:47 AM, Carl Caum wrote: > > On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum wrote: > >> Most plist management can be done with the defaults command. It means we >> exec out everytime, but we could write a definition

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Crawford Kyle
Is the client running on Mac hardware and not in a VM? Seems like system_profiler, which is used to generate default facts is failing. Maybe it doesn't work because of virtual hardware. On Dec 22, 2008, at 12:28 PM, Carl Caum wrote: > Most plist management can be done with the defaults com

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum > wrote: > Most plist management can be done with the defaults command. It > means we exec out everytime, but we could write a definition/plugin > around it. > > It also has the sometimes u

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread R.I.Pienaar
Hello, - "Todd Zullinger" wrote: > Is there a problem caused, other than the loss of a few kb of disk > space, by requiring ruby-augeas? Clearly that is a non issue. The issue is I'd like to choose when I put beta quality software on my systems and not some arbitrary inflated requires fr

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum wrote: > Most plist management can be done with the defaults command. It means we > exec out everytime, but we could write a definition/plugin around it. > It also has the sometimes undesirable side effect of converting all your xml1 property lists to

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
Most plist management can be done with the defaults command. It means we exec out everytime, but we could write a definition/plugin around it. I'm having trouble getting puppet to run on OS X. I installed 0.24.7 on my OS X server VM using gems. After signing the certificate on the puppetm

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread Todd Zullinger
R.I.Pienaar wrote: > There are also> 10 nagios types, yet we don't install nagios on > every server, it can manage k5 stuff, yet we don't force that on > everyone. We install it where we need it. Puppet *requires* ruby, > it does not require augeas or nagios. The size of pulling in nagios versus

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
OK, just playing around with it so far, but I think this will work. I'm setting up a virtual machine to test it on right now. Tell me if you think this is a good approach: define authentication::ldap($server, $binddn, $bindpasswd, $adminuser = "", $adminpass = "", $domain = "", $workgroup

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread RijilV
2008/12/22 RijilV > > Since puppet doesn't have a concept of producers and consumers (or master > and slaves) already, I would suggest against working yourself into that > mindset with respect to scalability - view it as a clustered service and go > from there. > Er what I ment to write was 'sin

[Puppet Users] Looking for Volunteers to tell Puppet Stories

2008-12-22 Thread Andrew Shafer
Deadline: 6:00 PM EASTERN - December 23 You can read what the journalist is looking for. If you are interested, let me know. Query: "For the blogs at VoIP-News, IT Management and Daily Wireless, I am looking for stories about how technology has benefited your company in 2008. I am most interes

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread RijilV
2008/12/22 James Turnbull > Eric Singer wrote: > > both servers should be Puppet Master servers as well. One server > > being primary and the other is seconday which is ready to pick up > > incase the other fails. > > > > The only documentation I know of is: > > http://reductivelabs.com/trac/pu

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread R.I.Pienaar
Hello, - "Peter Meier" wrote: > > well in .7 there is now an augeas type which uses ruby-augeas. > So where to draw the line? When is a new type an additional but > optional > feature? > There are also > 10 nagios types, yet we don't install nagios on every server, it can manage k5 stuf

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread Todd Zullinger
R.I.Pienaar wrote: > What is the rationale for the ruby-augeas requirement? Nothing in > puppet *requires* it, surely it's an optional extra that unlocks > some additional but optional features, it seems to be a completely > bogus over statement of the requirements. Just as ruby-shadow is an optio

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread R.I.Pienaar
Hello, - "Bryan Kearney" wrote: > > It used to be that EPEL packages were useful, this addition of beta > quality software as a requirement changes that unfortunately. > > > Yes, the requirement for ruby-augeas is optional. Yet the EPEL RPM lists it in the Requires? so that means the EPEL

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread Peter Meier
Hi > What is the rationale for the ruby-augeas requirement? Nothing in > puppet *requires* it, surely it's an optional extra that unlocks some > additional but optional features, it seems to be a completely bogus > over statement of the requirements. well in .7 there is now an augeas type which

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread Bryan Kearney
R.I.Pienaar wrote: > Hello, > > - "Todd Zullinger" wrote: > >> windowsrefund wrote: >>> Are they out there somewhere? I don't see anything on EPEL. >> They'll be in epel-testing as soon as the next push is done. >> >> You could grab puppet and ruby-augeas from: >> http://buildsys.fedoraproj

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread R.I.Pienaar
Hello, - "Todd Zullinger" wrote: > windowsrefund wrote: > > Are they out there somewhere? I don't see anything on EPEL. > > They'll be in epel-testing as soon as the next push is done. > > You could grab puppet and ruby-augeas from: > http://buildsys.fedoraproject.org/build-status/success

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 4:54 AM, James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Eric Singer wrote: > > Hi, > > I'm the UNIX systems administrator at the company I work for and we're > > in the planning stage of setting up LDAP and Puppet servers. For > > high avail

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread windowsrefund
Thank you On Dec 22, 10:45 am, Todd Zullinger wrote: > windowsrefund wrote: > > Are they out there somewhere? I don't see anything on EPEL. > > They'll be in epel-testing as soon as the next push is done. > > You could grab puppet and ruby-augeas > from:http://buildsys.fedoraproject.org/build-s

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Fred Clausen
Hi, On Dec 22, 4:41 pm, "Evan Hisey" wrote: > Fred- > > > Does the default node apply to all nodes, including those with their > > own node entry or only nodes without an explicit node entry? That is, > > will I need to make the "freebsd-box" explicitly inherit the "default" > > node? > > The an

[Puppet Users] Re: RPMS of 0.24.7?

2008-12-22 Thread Todd Zullinger
windowsrefund wrote: > Are they out there somewhere? I don't see anything on EPEL. They'll be in epel-testing as soon as the next push is done. You could grab puppet and ruby-augeas from: http://buildsys.fedoraproject.org/build-status/success.psp if you didn't want to wait another day or two. I

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Evan Hisey
Fred- > Does the default node apply to all nodes, including those with their > own node entry or only nodes without an explicit node entry? That is, > will I need to make the "freebsd-box" explicitly inherit the "default" > node? > The answer as stated in http://reductivelabs.com/trac/puppet/wik

[Puppet Users] RPMS of 0.24.7?

2008-12-22 Thread windowsrefund
Are they out there somewhere? I don't see anything on EPEL. --~--~-~--~~~---~--~~ 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 fro

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Peter Meier
Hi > This does indeed make sense and yes, you will need to 'inherit' the > default node to have other nodes apply the settings. well actually you have to inherit the unix class, that you overwrite the parameters. Pay attention to the fact that inheritance in nodes is slightly different than in c

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Trevor Vaughan
Fred, This does indeed make sense and yes, you will need to 'inherit' the default node to have other nodes apply the settings. Trevor On Mon, Dec 22, 2008 at 08:22, Fred Clausen wrote: > > Hello, > > We are making an initial, small scale Puppet deployment to test Puppet > and also to learn mor

[Puppet Users] Understanding the "default" node.

2008-12-22 Thread Fred Clausen
Hello, We are making an initial, small scale Puppet deployment to test Puppet and also to learn more of how Puppet can be used in our environment. My question is regarding the default node and how it applies when a defined node connects - this is perhaps best explained with a few examples, to st

[Puppet Users] Re: Redundant Puppet Master Servers

2008-12-22 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Singer wrote: > Hi, > I'm the UNIX systems administrator at the company I work for and we're > in the planning stage of setting up LDAP and Puppet servers. For > high availability we're current thinking about dedicating two of our > lower end L

[Puppet Users] Redundant Puppet Master Servers

2008-12-22 Thread Eric Singer
Hi, I'm the UNIX systems administrator at the company I work for and we're in the planning stage of setting up LDAP and Puppet servers. For high availability we're current thinking about dedicating two of our lower end Linux servers for the LDAP implementation and I'm thinking both servers shoul

[Puppet Users] Re: puppetd

2008-12-22 Thread Ohad Levy
whats the last line you see in your puppet logfiles? I would guess its an exec or similar Ohad On 12/22/08, Paul Johnson wrote: > Hi All, > > I have a strange problem with running puppet as a daemon. I set it up in > config to wake up every 15 min and looks like it every time spawns httpd

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Meier wrote: > well the master has to compile the manifest with all it's dependencies > and it will send the evaluated manifest down to the client. IMHO > therefore it have to know the new type. > However I might be wrong, but afair there is any

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Peter Meier
Hi > Debug output of the client run follows. No, I didn't update the > master; why would I do that? This is about functionality on the > client, not the master. Is it actually necessary that the *master* > have Augeas when it never uses it? well the master has to compile the manifest with all

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 10:06:56AM +0100, Peter Meier wrote: > > Hi > > > I've installed augeas-0.3.4, facter-1.5.2, and puppet-0.24.7 > > from their respective tarballs. I've installed > > ruby-augeas-0.2.0.gem. All of these things seem to work, but no > > matter what I do: > > > > err: Could

[Puppet Users] better emacs puppet-mode?

2008-12-22 Thread gary
Hello, Anyone try to extend puppet-mode for emacs? I'm trying to figure out how to get tags working as well as code completion and snippets (snippets.el). Just getting started and my Elisp is not so great. :) Maybe others have given this a start? I'd be happy to submit a patch against puppet-mode

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Peter Meier
Hi > I've installed augeas-0.3.4, facter-1.5.2, and puppet-0.24.7 from > their respective tarballs. I've installed ruby-augeas-0.2.0.gem. > All of these things seem to work, but no matter what I do: > > err: Could not retrieve catalog: Could not find resource type augeas > at /etc/puppet/manife

[Puppet Users] Re: puppetd

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 08:18:25AM +0200, Paul Johnson wrote: > Hi All, > > I have a strange problem with running puppet as a daemon. I set it up in > config to wake up every 15 min and looks like it every time spawns httpd > process that becomes zombie, so after some time I see a long list of >