[Puppet Users] Re: Error sending reports to dashboard

2011-03-21 Thread Mohamed Lrhazi
I enabled debug log level in apache virtual and it seems like puppetmaster is trying to speak http, instead of https. Is https not supported for posting reports? [Tue Mar 22 00:39:43 2011] [debug] ssl_engine_io.c(1819): OpenSSL: read 11/11 bytes from BIO#2b225d284100 [mem: 2b225d2f9650] (BIO dump

[Puppet Users] Re: Error sending reports to dashboard

2011-03-21 Thread Mohamed Lrhazi
If I run the dash-board directly, with built-in web-server, on default port, and remove the reporturl , reports are posted successfully! Any idea what I am missing for a behind apache/Phusion setup? Thanks a lot. Mohamed. On Mon, Mar 21, 2011 at 7:12 PM, Mohamed Lrhazi wrote: > [master] >  repo

[Puppet Users] Re: [Puppet-dev] RFC: Splitting up the file{} type functionality.

2011-03-21 Thread James Turnbull
Nigel Kersten wrote: The file{} type can do all of the following: * manage single files * manage directories * manage symlinks * manage recursive file copies The intersection of all these bits of functionality makes it difficult to understand exactly what is going on when you're new to Puppet,

[Puppet Users] Re: [Puppet-dev] RFC: Splitting up the file{} type functionality.

2011-03-21 Thread Daniel Pittman
I thing that recursive copies are the type that fits worst into the current code; I suggest we move that out and then wait and see if symlinks should follow or not. Regards, Daniel -- Puppet Labs Developer –http://puppetlabs.com Daniel Pittman Contact me via gtalk, email, or phone: +1 (877)

[Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-21 Thread Nigel Kersten
The file{} type can do all of the following: * manage single files * manage directories * manage symlinks * manage recursive file copies The intersection of all these bits of functionality makes it difficult to understand exactly what is going on when you're new to Puppet, and even experienced us

[Puppet Users] Error sending reports to dashboard

2011-03-21 Thread Mohamed Lrhazi
[master] reports = log, store, http reporturl = https://puppet-test.uis.example.com/reports/upload am running dashboar in the same host as puppetmaster, which is puppet-test, both behind apache/phusion. reports fail and master logs: Report http failed: wrong status line: "" How can I furth

Re: [Puppet Users] ANNOUNCE: Facter 1.5.9rc4

2011-03-21 Thread Todd Zullinger
Jacob Helwig wrote: > Facter 1.5.9rc4 is a maintenance release containing fixes and updates. For those using Fedora or RHEL/CentOS, I've updated the yum repos at: http://tmz.fedorapeople.org/repo/puppet/ Packages for EL 4 - 6 and Fedora 13 - 15 are available for testing. Add the puppet.repo

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Brian Gallew
On Mar 21, 2011, at 1:39 PM, jcbollinger wrote: > > On Mar 21, 3:15 pm, Brian Gallew wrote: >> It has occurred to me that another way of doing this would be to use defines >> >> define kludge($sudo_add_rule=undef) { >> node { "${name}": >> class {sudoers: additional_rules => [$su

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 3:15 pm, Brian Gallew wrote: > It has occurred to me that another way of doing this would be to use defines > >   define kludge($sudo_add_rule=undef) { >     node { "${name}": >         class {sudoers: additional_rules => [$sudo_add_rule}} >      }   >   } > > The beauty of this is th

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 1:40 pm, jcbollinger wrote: > On Mar 21, 12:20 pm, hai wu wrote: > > > I am going to use parameterized class together with extlookup, where > > extlookup is used to provide different parameter value for different node > > based on extlookup_precedence, the parameterized class needs t

[Puppet Users] Re: Client no longer reads catalog

2011-03-21 Thread Cody Robertson
On Mar 16, 11:27 am, Dennis Jacobfeuerborn wrote: > Wow, apparently running a "tcpdump -nn port 8140" un-wedges puppet and > brings things back to normal. Problem is that I have no clue how or why > running a tcpdump could possibly matter here even though it apparently does. > Does anyone have an

Re: [Puppet Users] Re: Client no longer reads catalog

2011-03-21 Thread Cody Robertson
On 03/21/2011 03:10 PM, jcbollinger wrote: On Mar 16, 10:27 am, Dennis Jacobfeuerborn wrote: Wow, apparently running a "tcpdump -nn port 8140" un-wedges puppet and brings things back to normal. Problem is that I have no clue how or why running a tcpdump could possibly matter here even though it

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Brian Gallew
It has occurred to me that another way of doing this would be to use defines define kludge($sudo_add_rule=undef) { node { "${name}": class {sudoers: additional_rules => [$sudo_add_rule}} } } The beauty of this is that it gets around the traditional problem of node inherita

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 1:20 pm, Ashley Gould wrote: > Please forgive my ignorance.  I find myself, a linux admin brought > up on howtos and books with animals on the cover, suddenly plunged > by puppet into a world of developers and computer scientists.  Could > you explain what is "idempotency" and "support

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-21 Thread TJ Yang
On Mon, Mar 21, 2011 at 11:29 AM, Todd Zullinger wrote: > Hi TJ, > > TJ Yang wrote: >> I am not familiar with yum. Would you mind provide a simple >> instruction to enable yum to install your test package ? > > You must enable the updates-testing repo on Fedora (or epel-testing on > RHEL/CentOS).

[Puppet Users] ANNOUNCE: Facter 1.5.9rc4

2011-03-21 Thread Jacob Helwig
Facter 1.5.9rc4 is a maintenance release containing fixes and updates. rc4 addresses some issues that were disovered with rc2. Specifically, it addresses using the wrong path to the arp executable on CentOS & RHEL (Bug #6763), as well as some spurrious output in the xendomains fact when xend is n

[Puppet Users] Re: Client no longer reads catalog

2011-03-21 Thread jcbollinger
On Mar 16, 10:27 am, Dennis Jacobfeuerborn wrote: > Wow, apparently running a "tcpdump -nn port 8140" un-wedges puppet and > brings things back to normal. Problem is that I have no clue how or why > running a tcpdump could possibly matter here even though it apparently does. > Does anyone have a

Re: [Puppet Users] Re: Passenger

2011-03-21 Thread Eric Searcy
On Mar 19, 2011, at 3:38 PM, rjl wrote: > Hi Michael, > Thanks for the reply. Is there a way to install passenger without a > compiler? I use these: http://passenger.stealthymonkeys.com/ (Read the instructions about installing the passenger-release rpm to get the repo keys and config, then yum

[Puppet Users] Re: Passenger

2011-03-21 Thread rjl
Thanks Eric. I am using passenger 3.0.5. If I can't make any progress, I will try the earlier version as you mention below. Right now I am getting this error in my apache error log [ pid=30770 thr=23604993726420 file=utils.rb:176 time=2011-03-21 19:14:13.870 ]: *** Exception LoadError in PhusionPa

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 12:20 pm, hai wu wrote: > I am going to use parameterized class together with extlookup, where > extlookup is used to provide different parameter value for different node > based on extlookup_precedence, the parameterized class needs to be declared > once in parent node, any issues yo

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Ashley Gould
On Mon, Mar 21, 2011 at 04:23:40AM -0700, Bill Proud wrote: > The following would work: > > node default { > class { sudoers: } > } > > node 'sl11lab02' { > class { sudoers: additional_rules => [ "$rules_uas" ] } > } > This does work, but I lose inheritance from node default. In fact, t

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Ashley Gould
On Mon, Mar 21, 2011 at 07:47:14AM -0700, jcbollinger wrote: > > Parameterized classes are not resources any more than ordinary classes > are, syntax similarity notwithstanding. You cannot override the > parameters of a parameterized class. > > Defined types are effectively custom resource type

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 4:56 am, Guillaume Rousse wrote: > Le 18/03/2011 19:15, jcbollinger a crit :> If you have many nodes with > various small differences between them, > > then perhaps it's time to look into an external node classifier. > > If I'm understand correctly, this just move the problem elsewhe

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-21 Thread Todd Zullinger
Ben Hughes wrote: > On Sun, Mar 20, 2011 at 01:17:17PM -0500, TJ Yang wrote: > >> I am not familiar with yum. Would you mind provide a simple >> instruction to enable yum to install your test package ? > > http://www.craigdunn.org/2010/08/part-1-installing-puppet-2-6-1-on-centos-with-yumrpm/ > > Co

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread hai wu
I am going to use parameterized class together with extlookup, where extlookup is used to provide different parameter value for different node based on extlookup_precedence, the parameterized class needs to be declared once in parent node, any issues you could forsee with this plan? - Hai On Mon,

Re: [Puppet Users] Passenger

2011-03-21 Thread Eric Stonfer
Hi, I've had good luck mirroring this repository it includes a passenger rubygem RPM with a precompiled mod_passenger. http://yum.puppetlabs.com/prosvc/5/x86_64/ rpm -ql rubygem-passenger | grep so$ /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so /usr/lib/ruby/gems/1.8/g

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-21 Thread Todd Zullinger
Hi TJ, TJ Yang wrote: > I am not familiar with yum. Would you mind provide a simple > instruction to enable yum to install your test package ? You must enable the updates-testing repo on Fedora (or epel-testing on RHEL/CentOS). yum --enablerepo updates-testing install puppet -- Todd

Re: [Puppet Users] Re: Passenger

2011-03-21 Thread Peter Meier
> Thanks for the reply. Is there a way to install passenger without a > compiler? Friends of Phusion (Passenger People) are now providing RPMs for Passenger: http://blog.phusion.nl/2011/01/04/phusion-passenger-native-packages-for-redhatfedoracentos/ ~pete -- You received this message because yo

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread jcbollinger
On Mar 21, 7:10 am, Guillaume Rousse wrote: > Le 21/03/2011 10:56, Guillaume Rousse a crit :> Le 18/03/2011 19:15, > jcbollinger a crit : > >> If you have many nodes with various small differences between them, > >> then perhaps it's time to look into an external node classifier. > > If I'm unde

[Puppet Users] Re: issues with Inventory service and dashboard

2011-03-21 Thread Jeffrey Goldschrafe
This is ticket #6791. http://projects.puppetlabs.com/issues/6791 On Sunday, March 20, 2011 10:04:06 PM UTC-4, Luke Baker wrote: > > Thanks for the assist, that seemed to help. However now I'm seeing > this when I try to view Inventory data, > > Could not retrieve facts from inventory service: c

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Guillaume Rousse
Le 21/03/2011 10:56, Guillaume Rousse a écrit : > Le 18/03/2011 19:15, jcbollinger a écrit : >> If you have many nodes with various small differences between them, >> then perhaps it's time to look into an external node classifier. > If I'm understand correctly, this just move the problem elsewhere

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-21 Thread TJ Yang
On Sun, Mar 20, 2011 at 9:17 PM, Ben Hughes wrote: > On Sun, Mar 20, 2011 at 01:17:17PM -0500, TJ Yang wrote: > >> I am not familiar with yum. Would you mind provide a simple >> instruction to enable yum to install your test package ? > > http://www.craigdunn.org/2010/08/part-1-installing-puppet-2

[Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Bill Proud
The following would work: node default { class { sudoers: } } node 'sl11lab02' { class { sudoers: additional_rules => [ "$rules_uas" ] } } On Mar 18, 12:03 am, Ashley Gould wrote: > I am exploring usage of parameterized classes.  I hit a wall when > trying to override values of paramet

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread Guillaume Rousse
Le 18/03/2011 19:15, jcbollinger a écrit : > If you have many nodes with various small differences between them, > then perhaps it's time to look into an external node classifier. If I'm understand correctly, this just move the problem elsewhere (potentially making it easier to solve), as the class