[Puppet Users] Removing links

2011-05-31 Thread John Kennedy
I have a group of web servers being load balanced. I have 4 types of servers all build from the same image. When I build the image I forgot to clear out one of the sym links from sites-enabled to sites-available. This is causing problems with the web servers. I have tried to have puppet remove the

Re: [Puppet Users] Not able to execute shell script

2011-05-31 Thread Felix Frank
If that is the whole content of you "shell script" it's missing the shebang line. """ #!/bin/sh chmod 777 /root/testfile """ You're still missing a PATH variable, so this script is still a mess. You should write a proper test script. HTH, Felix On 05/20/2011 10:36 AM, Sumith Sudhakaran wrote:

[Puppet Users] Re: Removing links

2011-05-31 Thread jcbollinger
On May 31, 4:58 am, John Kennedy wrote: > I have a group of web servers being load balanced. I have 4 types of servers > all build from the same image. > When I build the image I forgot to clear out one of the sym links from > sites-enabled to sites-available. This is causing problems with the w

[Puppet Users] Re: puppet administration guidance

2011-05-31 Thread jcbollinger
On May 30, 3:36 pm, S Ahmed wrote: > Other than learning on to build a puppet repo, what other > skills/tutorials/docs can you point me to do learn how to admin a puppet > setup. When you say "build a Puppet repo", I guess you're talking about writing manifests. That is probably the most sign

[Puppet Users] uploading files via REST?

2011-05-31 Thread RCosma
Hello, I am a bit confused by the REST syntax - how can I PUT an arbitrary file in the bucket? Downloading works fine (Perl+LWP), see below, but for PUT I only see this line in the docs (http://docs.puppetlabs.com/guides/rest_api.html): PUT /{environment}/file_bucket_file/md5/{checksum} Should I

[Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread jcbollinger
On May 30, 3:10 pm, Tim Coote wrote: > Hullo > I'm running facter 1.5.8 (fedora 13). I'm not very clear about what > the variable ipaddress is supposed to represent. I suggest you read the discussion at http://groups.google.com/group/puppet-users/browse_thread/thread/f278468018b13a32, especial

Re: [Puppet Users] puppet dashboard 404s

2011-05-31 Thread Randall Hansen
On Sat, May 28, 2011 at 5:36 AM, Tim Dunphy wrote: >  I noticed that it complained that it couldn't find this file >  /usr/share/puppet-dashboard/public/stylesheets/all.css This is actually one of the more straightforward aspects of Ruby on Rails. Everything in the "public" directory is served

[Puppet Users] New Puppet report processors...

2011-05-31 Thread James Turnbull
Hi all On my TODO list for about a year now has been a tutorial on how easy it is to write Puppet report processors and how much more you can do with them than just email/log/store Puppet report data. Rather than write a whole tutorial I decided to create a whole series of examples of report proc

[Puppet Users] ralsh - unable to pass alias array for host resource

2011-05-31 Thread PBWebGuy
I'm trying create an entry in the /etc/hosts file but when trying to use the 'alias' parameter I'm getting a munge error because it can't parse the array passed from the command-line. I've tried all sorts of ways to define the array but nothing seems to work. Does anyone know how to define the ar

Re: [Puppet Users] ralsh - unable to pass alias array for host resource

2011-05-31 Thread Dan Bode
On Tue, May 31, 2011 at 8:34 AM, PBWebGuy wrote: > I'm trying create an entry in the /etc/hosts file but when trying to > use the 'alias' parameter I'm getting a munge error because it can't > parse the array passed from the command-line. I've tried all sorts of > ways to define the array but no

[Puppet Users] know what the master is currently doing

2011-05-31 Thread Carles Amigó
Hi Is there any way to see which catalog is currently compiling the puppet master? The puppetmaster log only shows the catalog when it's been already compiled, not when it starts compiling it. In our configuration, we have many puppet masters running after a nginx and it would be useful to

Re: [Puppet Users] Puppet Enterprise scalability

2011-05-31 Thread Nigel Kersten
On Mon, May 30, 2011 at 4:58 AM, Kenneth Holter wrote: > Hi, > > > we're interested in the Puppet Enterprise software bundle, but have > some concerns about the scalability of this type of bundled setup. Are > there any puppet enterprise customers on the mailinglist that may > comment on their exp

Re: [Puppet Users] finished, yet execution expired

2011-05-31 Thread Nigel Kersten
On Fri, May 27, 2011 at 8:39 PM, Larry Ludwig wrote: > In my case is also happening with 2.6.8. > > making > > async_storeconfigs=false > > Seemed to resolve the issue. > hrm. that's rather strange. Daniel, if you're still watching this thread, do you have any comment on whether your fix for: h

[Puppet Users] High CPU usage puppet 2.6.6

2011-05-31 Thread Marek Dohojda
Hi I recently upgrade my puppet from .25 to 2.6.6. The actual upgrade process was trivial, but now I am seeing issues. Puppetmaster is running at very high CPU usage. Prior to the upgrade my load average was at around 2 ( this server is doing more stuff than just puppet ), but now I am hitting

Re: [Puppet Users] Re: puppet administration guidance

2011-05-31 Thread Zico
On Tue, May 31, 2011 at 8:00 PM, jcbollinger wrote: > > > > > When you say "build a Puppet repo", I guess you're talking about > writing manifests. That is probably the most significant aspect of > using Puppet, so you're cutting out a lot when you exclude it. > > > > What sort of day to day issu

Re: [Puppet Users] ANNOUNCE: Facter 1.5.9 Final!

2011-05-31 Thread Mark Phillips
On 20 May 2011, at 19:48, Jacob Helwig wrote: > Facter 1.5.9 is a maintenance release containing fixes and updates. > > This release contains several fixes, and updated facts, as well as > adding some new facts. These include enhancements with Facter & EC2, > additional memory facts for OS X, an

[Puppet Users] Fwd: uploading files via REST?

2011-05-31 Thread Razvan Cosma
Hello, I am a bit confused by the REST syntax - how can I PUT an arbitrary file in the bucket? Downloading works fine (Perl+LWP), see below, but for PUT I only see this line in the docs (http://docs.puppetlabs.com/guides/rest_api.html): PUT /{environment}/file_bucket_file/md5/{checksum} Should I c

Re: [Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread Daniel Pittman
On Tue, May 31, 2011 at 07:40, jcbollinger wrote: > On May 30, 3:10 pm, Tim Coote wrote: >> Hullo >> I'm running facter 1.5.8 (fedora 13). I'm not very clear about what >> the variable ipaddress is supposed to represent. > > I suggest you read the discussion at > http://groups.google.com/group/pu

Re: [Puppet Users] Removing links

2011-05-31 Thread Nick Lewis
On Tuesday, May 31, 2011 at 2:58 AM, John Kennedy wrote: > I have a group of web servers being load balanced. I have 4 types of servers > all build from the same image. > When I build the image I forgot to clear out one of the sym links from > sites-enabled to sites-available. This is causing

Re: [Puppet Users] uploading files via REST?

2011-05-31 Thread Daniel Pittman
On Tue, May 31, 2011 at 07:21, RCosma wrote: > Hello, > I am a bit confused by the REST syntax - how can I PUT an arbitrary file in > the bucket? Downloading works fine (Perl+LWP), see below, but for PUT I only > see this line in the docs (http://docs.puppetlabs.com/guides/rest_api.html): > PUT /{

Re: [Puppet Users] High CPU usage puppet 2.6.6

2011-05-31 Thread Daniel Pittman
On Tue, May 31, 2011 at 10:03, Marek Dohojda wrote: > I recently upgrade my puppet from .25 to 2.6.6.  The actual upgrade process > was trivial, but now I am seeing issues.  Puppetmaster is running at very > high CPU usage.  Prior to the upgrade my load average was at around 2 ( this > server is

[Puppet Users] User's Home Folder is not Being created but the user is there.

2011-05-31 Thread vella1tj
user {'trevor' : uid=> 500, groups => 'root', comment => 'this user was created by Mr. Puppet', ensure => present, home=> '/home/trevor', shell => 'bin/bash', } I created this to create a User using puppet this was an exercise given by one o

Re: [Puppet Users] know what the master is currently doing

2011-05-31 Thread Daniel Pittman
2011/5/31 Carles Amigó : > Is there any way to see which catalog is currently compiling the puppet > master? > > The puppetmaster log only shows the catalog when it's been already compiled, > not when it starts compiling it. > > In our configuration, we have many puppet masters running after a ngi

Re: [Puppet Users] User's Home Folder is not Being created but the user is there.

2011-05-31 Thread Nigel Kersten
On Tue, May 31, 2011 at 10:50 AM, vella1tj wrote: > user {'trevor' : > uid=> 500, > groups => 'root', > comment => 'this user was created by Mr. Puppet', > ensure => present, > home=> '/home/trevor', > shell => 'bin/bash', > } > > I created this

Re: [Puppet Users] User's Home Folder is not Being created but the user is there.

2011-05-31 Thread Nick Lewis
On Tuesday, May 31, 2011 at 10:50 AM, vella1tj wrote: > user {'trevor' : > uid => 500, > groups => 'root', > comment => 'this user was created by Mr. Puppet', > ensure => present, > home => '/home/trevor', > shell => 'bin/bash', > } > > I created this to create a User using puppet this was

Re: [Puppet Users] User's Home Folder is not Being created but the user is there.

2011-05-31 Thread Trevor Vella
You guys are awesome just added it I delete my trevor user and recreated it and it's working flawlessly sorry for wasting your time on such a medial task and thanks so much for getting back to me. On Tue, May 31, 2011 at 1:56 PM, Nick Lewis wrote: > On Tuesday, May 31, 2011 at 10:50 AM, vell

[Puppet Users] Re: User's Home Folder is not Being created but the user is there.

2011-05-31 Thread vella1tj
Thanks you're great, I set it up and it's working now I changed my ensure to absent to delete then change it back to present and added managehome an it's working great you're ausome thanks man. On May 31, 1:56 pm, Nick Lewis wrote: > On Tuesday, May 31, 2011 at 10:50 AM, vella1tj wrote: > > user

[Puppet Users] Re: User's Home Folder is not Being created but the user is there.

2011-05-31 Thread vella1tj
Thanks you're great, I set it up and it's working now I changed my ensure to absent to delete then change it back to present and added managehome an it's working great you're ausome thanks man. On May 31, 1:56 pm, Nigel Kersten wrote: > On Tue, May 31, 2011 at 10:50 AM, vella1tj wrote: > > user

[Puppet Users] Extlookup++

2011-05-31 Thread Nigel Kersten
On Fri, May 27, 2011 at 1:08 PM, R.I.Pienaar wrote: > And for what its worth this afternoon just to see how hard it is > and to again ask to myself 'wtf has no-one done this yet?' and also > 'wtf are people at Puppet Labs reinventing this wheel?' I wrote > a new extlookup that has pluggable backe

[Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread Tim Coote
Thanks, chaps. Pleased to hear that I'm not mad. The relationship between IP addresses and hosts is non-trivial, especially when you wrap in the MAC address concept. It's also asymmetrical in the sense that the value seen from 'inside' a host may not relate to the value used 'outside'. I've been

Re: [Puppet Users] finished, yet execution expired

2011-05-31 Thread Larry Ludwig
Actually upon further investigation it turned out to be an odd iptables firewall rule, unrelated to puppet. -- 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

Re: [Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread Daniel Pittman
On Tue, May 31, 2011 at 14:04, Tim Coote wrote: > Thanks, chaps. Pleased to hear that I'm not mad.  The relationship > between IP addresses and hosts is non-trivial, especially when you > wrap in the MAC address concept. It's also asymmetrical in the sense > that the value seen from 'inside' a hos

[Puppet Users] Facts with puppet master --compile

2011-05-31 Thread Yushu Yao
Hi Experts, Sorry for re-posting but I wasn't able to get a definite answer. I noticed there was an issue opened about this (And some posts). https://projects.puppetlabs.com/issues/3646 Just wondering what is the best way today to pass facts to puppet master --compile? As suggested in the ticke

[Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Jacob Helwig
On Thu, 26 May 2011 09:38:28 -0700, Jacob Helwig wrote: > > As promised yesterday, here are the results of our first planning > meeting. > > Right now, we're loosely following a Scrum style of development. With > the current one-week iteration's backlog outlined below. > > * #2128 - Allow arbit

Re: [Puppet Users] Facts with puppet master --compile

2011-05-31 Thread Patrick
On May 31, 2011, at 4:31 PM, Yushu Yao wrote: > Hi Experts, > > Sorry for re-posting but I wasn't able to get a definite answer. > > I noticed there was an issue opened about this (And some posts). > https://projects.puppetlabs.com/issues/3646 > > Just wondering what is the best way today to

[Puppet Users] Semantic differences between selector and if/then?

2011-05-31 Thread Aaron Grewell
Should the C-style selector and if/then statements have equivalent true/false handling? Maybe I'm setting this up wrong, but I expected these two to be the same: if $name[symlink]{ $symlink= $name[symlink]} else { $symlink = undef} $symlink= $name[symlink]? { t

Re: [Puppet Users] Facts with puppet master --compile

2011-05-31 Thread Nan Liu
On Tue, May 31, 2011 at 4:31 PM, Yushu Yao wrote: > Hi Experts, > > Sorry for re-posting but I wasn't able to get a definite answer. > > I noticed there was an issue opened about this (And some posts). > https://projects.puppetlabs.com/issues/3646 > > Just wondering what is the best way today to p

[Puppet Users] Any good documentation NGINX + Passenger + Puppet?

2011-05-31 Thread Luc Suryo
Hello, I been browsing around and can not find any good documentation how to setup Puppet with Nginx and passenger I have a working Nginx with passenger support working but then what ? Kinda confuse and wondering if maybe Passenger is not the way to go ? Mongrel ? or something different? any poin

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Nigel Kersten
On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig wrote: > On Thu, 26 May 2011 09:38:28 -0700, Jacob Helwig wrote: > > > > As promised yesterday, here are the results of our first planning > > meeting. > > > > Right now, we're loosely following a Scrum style of development. With > > the current one-w

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Alan Sparks
On 5/31/2011 7:19 PM, Nigel Kersten wrote: > > > On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig > wrote: > > On Thu, 26 May 2011 09:38:28 -0700, Jacob Helwig wrote: > > > > As promised yesterday, here are the results of our first planning > > meeting

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Jacob Helwig
On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: > > > On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig > > wrote: > > > > Just a quick reminder that we're going to have our planning meeting > > tomorrow. If you'd like to influence what we end up prioriti

Re: [Puppet Users] Facts with puppet master --compile

2011-05-31 Thread Yushu Yao
*Thanks a lot Nan! I'll give it a try! And let the list know if it works. -Yushu *+-+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | 1 Cyclotron Road | Berkeley CA 94720 - USA +-

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Alan Sparks
On 5/31/2011 9:07 PM, Jacob Helwig wrote: > On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: >> >>> On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig >> > wrote: >>> >>> Just a quick reminder that we're going to have our planning meeting >>> tomorrow. If you'

[Puppet Users] Puppet should correctly support CA trust chains (#3143)

2011-05-31 Thread Jacob Helwig
On Tue, 31 May 2011 22:01:15 -0600, Alan Sparks wrote: > > On 5/31/2011 9:07 PM, Jacob Helwig wrote: > > On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: > >> > >>> On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig >>> > wrote: > >>> > >>> Just a quick reminder

[Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Andrew Forgue
Writing this is groups.google.com's interface, pardon the formatting. Some bugs that have been causing us a bit of pain that I would really be happy if they actually got fixed: #3910 - Server is not authoritative over client environment when specified in an ENC This particular bug has been ope

[Puppet Users] Re: [Puppet-dev] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread James Turnbull
Andrew Forgue wrote: > #5517 - behavior change within 2.6 makes it impossible to override class > parameters of "included" parametrized classes > > This bug is almost singlehandedly preventing us from using parameterized > classes. We honestly can't move to 2.7 (and the changes in scope) > without

[Puppet Users] Re: puppet administration guidance

2011-05-31 Thread chiggsy
You'll want to remember the declarative nature of puppet, that is, the manifests are not recipes, they are applied to the system but in the sense of commands. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the we