[Puppet Users] Passenger on redhat 6

2012-05-24 Thread David Schmitt
Hi, does anyone have a mod_passenger for RHEL6 from a trusted source, where I *don't* have to compile on the server? I'm trying to upgrade the puppetmaster/dashboard here and the docs on the wiki (http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger) are not helpful either. Best Regar

Re: [Puppet Users] Passenger on redhat 6

2012-05-24 Thread Aditya Patawari
On Thu, May 24, 2012 at 1:28 PM, David Schmitt wrote: > Hi, > > > does anyone have a mod_passenger for RHEL6 from a trusted source, where I > *don't* have to compile on the server? I'm trying to upgrade the > puppetmaster/dashboard here and the docs on the wiki > (http://projects.puppetlabs.com/pr

[Puppet Users] Re: Check if class has been included?

2012-05-24 Thread Ryan Bowlby
On May 4, 6:34 am, jcbollinger wrote: > On May 4, 1:54 am, Dan Carley wrote: > > > > > > > > > > > On 3 May 2012 23:32, jcbollinger wrote: > > > > Hmm.  I guess I misunderstood your objective.  It is still true that > > > 'defined' is not a good approach, however, and also that > > > os::motd:

Re: [Puppet Users] Passenger on redhat 6

2012-05-24 Thread David Schmitt
On Thu, 24 May 2012 15:26:10 +0530, Aditya Patawari wrote: > On Thu, May 24, 2012 at 1:28 PM, David Schmitt wrote: >> Hi, >> >> >> does anyone have a mod_passenger for RHEL6 from a trusted source, where I >> *don't* have to compile on the server? I'm trying to upgrade the >> puppetmaster/dashboar

[Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Dick Davies
I've got a couple of custom facts that are used to find template paths etc. I always thought facts and plugins got pulled down before the modules were applied (this is 2.6.x), but it looks like they aren't (having re-provisioned some nodes the initial run is failing immediately). I end up with in

[Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Dick Davies
I've got a couple of custom facts that are used to find template paths etc. I always thought facts and plugins got pulled down before the modules were applied (this is 2.6.x), but it looks like they aren't (having re-provisioned some nodes the initial run is failing immediately). I end up with in

Re: [Puppet Users] Passenger on redhat 6

2012-05-24 Thread Ohad Levy
On Thu, May 24, 2012 at 1:48 PM, David Schmitt wrote: > On Thu, 24 May 2012 15:26:10 +0530, Aditya Patawari > wrote: > > On Thu, May 24, 2012 at 1:28 PM, David Schmitt wrote: > >> Hi, > >> > >> > >> does anyone have a mod_passenger for RHEL6 from a trusted source, where > I > >> *don't* have to

Re: [Puppet Users] Passenger on redhat 6

2012-05-24 Thread Scott Merrill
I've found it pretty easy to rebuild the SRPMs provided by the stealthmonkey repository. You'll need a couple of devel packages from EPEL to complete the build. If you want the binary RPMs I built, let me know. I don't know if I qualify as a trusted source for you. :) I can also share the document

[Puppet Users] Compiling augeas on AIX?

2012-05-24 Thread Frank Ederveen
Hi, I've been trying to get augeas working on AIX for some time now. Has anyone got it working? Compiling up older versions of augeas (0.8.1) is no problem, but it doesn't let me create the shared libraries I seem to need for the ruby-augeas module :/ Pretty much the same seems true for Solaris,

Re: [Puppet Users] Compiling augeas on AIX?

2012-05-24 Thread Dominic Cleal
Hi Frank, I've CCed the augeas-devel list, as that's a better place to ask. On 24/05/12 12:11, Frank Ederveen wrote: > I've been trying to get augeas working on AIX for some time now. Has > anyone got it working? > > Compiling up older versions of augeas (0.8.1) is no problem, but it > doesn't le

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
Thanks Josh - here's the output: C:\Windows\system32>puppet agent --test --debug debug: Failed to load library 'syslog' for feature 'syslog' debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load libra

Re: [Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Luke Bigum
Hi Dick, Do you have "pluginsync = true" in your Agent's config in it's initial run? Are the facts in a module's path correctly (/lib/facter/.rb) ? -Luke On 24/05/12 11:57, Dick Davies wrote: I've got a couple of custom facts that are used to find template paths etc. I always thought facts

[Puppet Users] Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-24 Thread tiochan
Hi all! I'm new on puppet, and I making my firsts classes. I have defined an example class to install 7Zip on Windows servers, it runs right, but I would like to improve it. The problem is that each time that I execute the "puppet agent --test" it downloads the 7zip.msi file, although it is rea

[Puppet Users] Re: Look for existing Facter Modules for retrieving some system description information

2012-05-24 Thread Christophe L
Hello, Thanks for pointing your "kwilczynski" github repo, it gave me most of the information I was looking for ! In the meantime, I found two other useful facter modules / facts but there is still some information for which I haven't found any fact. I put a list of information below, does any

[Puppet Users] Re: Assign multipe PublicKeys to multiple System Users

2012-05-24 Thread jcbollinger
On May 23, 7:51 am, tommodore wrote: > Hi, > > I'm trying to assign PublicKeys from a set of users to multiple System > Users like > > node example.example.com { >         include ssh::auth >         ssh::auth::server { ["thomas", "peter", "steve",  ]: user => > "appuser" } >         ssh::auth::s

[Puppet Users] question about Cusctom Facts

2012-05-24 Thread mparrad
Hi guys, I've been working with Puppet on Windows 2.7.14, I trying to use my own custom facts, but I have to put in on Windows Agent machine manually, I tried using pluginsync=true, and I put my *.rb files on /lib/facter and It works but It only copy the files to C:\ProgramData\PuppetLabs\puppe

[Puppet Users] Re: Puppet First Run after Install failing in module pe_mcollective

2012-05-24 Thread Shiva
Jeff Have you been able to identify the fix.. I am kinda stuck and havent been able to move forward with this.. Thanks Shiva On May 22, 11:55 am, Shiva wrote: > Thanks Jeff > > Puppet enterprise 2.5.1 and RHEL 6.2 > > Shiva > > On May 22, 11:37 am, Jeff McCune wrote: > > > > > > > > > What ver

Re: [Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Dick Davies
They are, but have just realised they only get pushed out in the initial puppet run...hum, bit of a catch 22 here. Wondering if it's inheritance related, normally we do something like class thing_using_custom_facts { include standardbuild_which_setsup_puppetconf include module_needing_custom_

Re: [Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Ryan Coleman
On Thu, May 24, 2012 at 8:27 AM, Dick Davies wrote: > They are, but have just realised they only get pushed out in the initial > puppet run...hum, bit of a catch 22 here. New plugins do get transferred to an agent with pluginsync = true before the actual Puppet run. If your plugins change on the

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Josh Cooper
On Thu, May 24, 2012 at 4:32 AM, Matt F wrote: > > Thanks Josh - here's the output: > > C:\Windows\system32>puppet agent --test --debug > > debug: Failed to load library 'syslog' for feature 'syslog' > debug: Failed to load library 'selinux' for feature 'selinux' > debug: Puppet::Type::File::Provi

[Puppet Users] Fileserver in standalone mode.

2012-05-24 Thread btimby
I am using puppet in standalone mode (puppet apply) to test manifests that I also use in a client/server configuration. I have everything working as far as files included in modules. I can reference file source as "puppet:///modules/modulename/path/to/file". However, some files are not part of

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
I ended up installing yet another puppetmaster, and I think that resolved my cert issues. However, my client still cannot get a test file from the puppetmaster. There is NO firewall or selinux running on the server (both disabled). fileserver.conf has: [files] path /var/lib/puppet/files

Re: [Puppet Users] linting manifests with long lines

2012-05-24 Thread Tim Mooney
In regard to: Re: [Puppet Users] linting manifests with long lines, Nan Liu...: On Mon, May 21, 2012 at 11:55 AM, Tim Mooney wrote: All- I've been working through our local manifests with puppet-lint, trying to make certain we're as prepared as possible for puppet 3.x. I would like for our

[Puppet Users] Re: Look for existing Facter Modules for retrieving some system description information

2012-05-24 Thread Krzysztof Wilczynski
Hi, On Thursday, May 24, 2012 2:13:08 PM UTC+1, Christophe L wrote: > > Hello, > > Thanks for pointing your "kwilczynski" github repo, it gave me most of the > information I was looking for ! > Glad you found it useful. > I put a list of information below, does anyone know facts or facter mo

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 10:02 AM, Matt F wrote: > I ended up installing yet another puppetmaster, and I think that resolved > my cert issues. However, my client still cannot get a test file from the > puppetmaster. There is NO firewall or selinux running on the server (both > disabled). > > files

[Puppet Users] Re: Announcing Razor

2012-05-24 Thread teyo
Russell, The Mircokernel is just a tinycore linux kernel with some extra stuff. That extra stuff will be released under an Opensource license along with instructions to build your own MK in the event that you wanted to extend the MK functionality. For example, we have MCollective on the MK so that

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
Do I _have_ to use a module? I'm starting out with the very basics. All I want to do is copy a single file. would this work with a class instead of a module? I'm starting to read your "Pro Puppet" book... and on pg 20 modules are described as "an ADVANCED, portable..." keyword ADVANCED. -- You

Re: [Puppet Users] Passenger on redhat 6

2012-05-24 Thread Dan White
I think you misunderstood. They are binary RPM's, not source RPM's They contain some config files and an *.so file “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - David

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 12:35 PM, Matt F wrote: > Do I _have_ to use a module? I'm starting out with the very basics. All I > want to do is copy a single file. would this work with a class instead of a > module? I'm starting to read your "Pro Puppet" book... and on pg 20 modules > are described a

Re: [Puppet Users] question about Cusctom Facts

2012-05-24 Thread Josh Cooper
Hi Marco, On Thu, May 24, 2012 at 7:35 AM, mparrad wrote: > Hi guys, > I've been working with Puppet on Windows 2.7.14, I trying to use my own > custom facts, but I have to put in on Windows Agent machine manually, I > tried using pluginsync=true, and I put my *.rb files on Moudle>/lib/facter an

Re: [Puppet Users] Re: Puppet First Run after Install failing in module pe_mcollective

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 7:41 AM, Shiva wrote: > Jeff > > Have you been able to identify the fix.. I am kinda stuck and havent > been able to move forward with this.. > I haven't yet. I'll be in IRC today and will look at this right now. I'm jmccune on freenode, please ping me there and we can w

Re: [Puppet Users] question about Cusctom Facts

2012-05-24 Thread Marco Parra D.
Hi Josh On 24-05-2012 16:13, Josh Cooper wrote: Hi Marco, On Thu, May 24, 2012 at 7:35 AM, mparrad wrote: Hi guys, I've been working with Puppet on Windows 2.7.14, I trying to use my own custom facts, but I have to put in on Windows Agent machine manually, I tried using pluginsync=true, and I

Re: [Puppet Users] Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 6:06 AM, tiochan wrote: > Hi all! > > I'm new on puppet, and I making my firsts classes. > Welcome! > I have defined an example class to install 7Zip on Windows servers, it > runs right, but I would like to improve it. > The problem is that each time that I execute the

[Puppet Users] advice on module/class refactoring for defines

2012-05-24 Thread Tim Mooney
All- We have several modules that have defines within them that the style guide (sections 11.1 & 11.4) and puppet-lint suggest should be in their own file. I'm working on fixing them and have a question about how things should be refactored. A stripped down example: The node: node 'foo.bar.e

[Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread jcbollinger
On May 24, 2:35 pm, Matt F wrote: > Do I _have_ to use a module? I'm starting out with the very basics. All I > want to do is copy a single file. would this work with a class instead of a > module? I'm starting to read your "Pro Puppet" book... and on pg 20 modules > are described as "an ADVANCE

Re: [Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-05-24 Thread Jeff McCune
On Tue, May 22, 2012 at 6:58 AM, Shiva wrote: > I am installing puppet enterprise manager (master) on a RHEL box. > Though the install itself succeeds without any issues, the first run > of puppet when it tries to deploy the pe_mcollective module fails with > the following error. > > Message: > ch

Re: [Puppet Users] question about Cusctom Facts

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 1:33 PM, Marco Parra D. wrote: > But my question was can I change the path where puppet copi the custom > facts? > Yes, this is the plugindest puppet agent option. What is it currently set to? You can check using puppet agent --configprint plugindest > because when I r

[Puppet Users] Re: Announcing Razor

2012-05-24 Thread Gmoney
This sounds great, looks like when you try to do the puppet apply that it does not support install on RedHat 6. Any update on that? i tried modifing the file: /etc/puppet/modules/mongodb/manifests/init.pp Added the following, but it still coughs, any help would be apprecitaed, thanks. 'RedHat':

Re: [Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-05-24 Thread robert.vanveelen
-- Sent from my HP VeerOn May 24, 2012 17:21, Jeff McCune wrote: On Tue, May 22, 2012 at 6:58 AM, Shiva wrote: I am installing puppet enterprise manager (master) on a RHEL box. Though the install itself succeeds without any issues, the first run of puppet when it t

Re: [Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-05-24 Thread robert.vanveelen
-- Sent from my HP VeerOn May 24, 2012 17:21, Jeff McCune wrote: On Tue, May 22, 2012 at 6:58 AM, Shiva wrote: I am installing puppet enterprise manager (master) on a RHEL box. Though the install itself succeeds without any issues, the first run of puppet when it t

[Puppet Users] Puppet not applying my config

2012-05-24 Thread macmichael01
Hello, I am running puppet 2.7.11 on my puppet client and puppet master. I generated and signed my certs but for some reason my configurations are not being applied on my client box. When running the following command it appears to be pulling the configurations but does not apply them. Is there a

Re: [Puppet Users] Re: Announcing Razor

2012-05-24 Thread Nan Liu
On Thu, May 24, 2012 at 2:57 PM, Gmoney wrote: > This sounds great, looks like when you try to do the puppet apply that > it does not support install on RedHat 6. Any update on that? i tried > modifing the file: > > /etc/puppet/modules/mongodb/manifests/init.pp > > Added the following, but it stil

Re: [Puppet Users] Puppet not applying my config

2012-05-24 Thread Peter Bukowinski
On May 24, 2012, at 8:05 PM, macmichael01 wrote: > Hello, > > I am running puppet 2.7.11 on my puppet client and puppet master. > I generated and signed my certs but for some reason my configurations > are not > being applied on my client box. > > When running the following command it appears t

Re: [Puppet Users] advice on module/class refactoring for defines

2012-05-24 Thread Nan Liu
On Thu, May 24, 2012 at 1:53 PM, Tim Mooney wrote: > > All- > > We have several modules that have defines within them that the style guide > (sections 11.1 & 11.4) and puppet-lint suggest should be in their own > file.  I'm working on fixing them and have a question about how things > should be re

[Puppet Users] Announce: Facter 2.0.0rc4 Available

2012-05-24 Thread Moses Mendoza
Facter 2.0.0rc4 is a maintenance release candidate with bug fixes. It includes contributions from Josh Cooper, Jeff Weiss, Stefan Schulte, and Moses Mendoza. This release is available for download at: https://downloads.puppetlabs.com/facter/facter-2.0.0rc4.tar.gz https://apt.puppetlabs.com htt

Re: [Puppet Users] Re: Announcing Razor

2012-05-24 Thread Trevor Vaughan
Nan, Using the 'alternatives' system is probably your best bet. Slap it in /opt and register it with 'alternatives'. man 8 alternatives (I couldn't find a better reference online) Trevor On Thu, May 24, 2012 at 8:36 PM, Nan Liu wrote: > On Thu, May 24, 2012 at 2:57 PM, Gmoney wrote: >> This