[Puppet Users] Re: Clearing delayed job failures in dashboard

2011-10-31 Thread Evgeny
this will clean all reports, I don't know how to clean only delayed job failures but it may help rake RAILS_ENV=production reports:prune upto=0 unit=day On Oct 28, 9:32 pm, Steven L. Seed slseed1...@gmail.com wrote: I have a ton of delayed job failures in my dashboard under background tasks.

[Puppet Users] Re: Puppet class dependency

2011-10-31 Thread jcbollinger
On Oct 29, 2:50 am, Jean Baptiste FAVRE jean.baptiste.fa...@gmail.com wrote: Hello Andrew, Thanks for your answer. Infact, pkgrepo *is* already like you suggest: class pkgrepo {     Nginx::Vhost[website.domain.tld] - Class['Pkgrepo']     include pkgrepo::install,pkgrepo::config } Just

[Puppet Users] Re: Unable to define order of modules

2011-10-31 Thread jcbollinger
On Oct 28, 10:07 am, Baptiste Grenier baptiste.gren...@gmail.com wrote: I am trying to define the modules' run order like this: You are running up against a common source of confusion: the difference between order of manifest evaluation (on the master) and order of catalog application (on the

[Puppet Users] Re: Duplicate exported resources

2011-10-31 Thread jcbollinger
On Oct 30, 2:42 am, Galed Friedmann galed.friedm...@onavo.com wrote: I didn't know there was such a difference between exporting the ensure and setting it when collecting, I thought it was supposed to be the same thing As I seem to be saying frequently of late, the effect on the client

Re: [Puppet Users] Re: Basic questions about puppetlabs-java

2011-10-31 Thread Nan Liu
On Sun, Oct 30, 2011 at 10:40 PM, Robert Atkins snikta.tre...@gmail.com wrote: Some progress... On Oct 31, 1:07 pm, Robert Atkins snikta.tre...@gmail.com wrote: I've installed puppet, rubygems, puppet-module and the puppetlabs-java module on my OpenSUSE 11.4 system. When I do: puppet apply

[Puppet Users] Incorrect architecture fact value during catalog run

2011-10-31 Thread Alexander Azarov
Hi all, Can you help me diagnose a problem please? I have Facter 1.6.2 and Puppet 2.7.6 installed and what happens is that I rely on architecture fact in my manifests and this fact looks correct when I run Facter and it is set to incorrect value during catalog run: r4:/var/log# facter -p |

[Puppet Users] useradd question

2011-10-31 Thread Peter Horvath
I am using Ubuntu LTS 10.04 with the backported puppet 2.6.1-0ubuntu2~lucid1 I am trying to create user with the following manifests but at the end always getting the Could not find user git error message: What am i missing, seems the manifest not creating the missing git user.

[Puppet Users] Puppet client starting problem !!

2011-10-31 Thread Swati Longia
Hi, I have installed puppet 2.7.5 from tar on open suse 10.1. My ruby version is 1.8.5 and facter version is 1.6.2. The opensuse OS is pretty minimalistic. I don't even have normal linux commands like useradd or groupadd in this OS. When I run the master it runs completely fine. *puppetmasterd

Re: [Puppet Users] Incorrect architecture fact value during catalog run

2011-10-31 Thread Adrien Thebo
What operating system is this? I'm looking at the documentation for the architecture fact, and theres this: # Resolution: # On OpenBSD, Linux and Debian's kfreebsd, use the hardwaremodel fact. # Gentoo and Debian call x86_86 amd64. # Gentoo also calls i386 x86. On Mon, Oct 31, 2011 at 9:25

[Puppet Users] Help using puppetlabs-mysql

2011-10-31 Thread treydock
I'm working to begin managing MySQL with the puppetlabs-mysql provided module, but am not able to get very far with the README documentation. So far, simply trying to add the server module and define the root_password is failing like so, err: Could not retrieve catalog from remote server: Error

Re: [Puppet Users] bug: recursive directory copy that re-copies nightly

2011-10-31 Thread Jo Rhett
man pre link will tell you: prelink is a program that modifies ELF shared libraries and ELF dynamically linked binaries in such a way that the time needed for the dynamic linker to perform relocations at startup significantly decreases. In short, don't use

Re: [Puppet Users] Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch On Mon, Oct 31, 2011 at 10:01 AM, treydock treyd...@gmail.com wrote: I'm working to begin managing MySQL with the puppetlabs-mysql provided module, but am

[Puppet Users] Re: Puppet class dependency

2011-10-31 Thread devon
And for classes definition, I got: class pkgrepo {          Nginx::Vhost[packages.iscoolapp.com] - Class['Pkgrepo']          include pkgrepo::install,pkgrepo::config } The way I understand it, all included classes are basically included at the same time before catalog compilation. And then

Re: [Puppet Users] Incorrect architecture fact value during catalog run

2011-10-31 Thread Alexander Azarov
This is Debian 6.0.3 On Monday, October 31, 2011 8:43:50 PM UTC+4, Adrien Thebo wrote: What operating system is this? I'm looking at the documentation for the architecture fact, and theres this: # Resolution: # On OpenBSD, Linux and Debian's kfreebsd, use the hardwaremodel fact. #

[Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread treydock
On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch On Mon, Oct 31, 2011 at 10:01 AM, treydock treyd...@gmail.com wrote: I'm working to

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch On

Re: [Puppet Users] Re: Puppet class dependency

2011-10-31 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Devon, You're tight and that's the point I was looking for. I discovered that point when doing some tests after Andrew's contribution. So, now it works and I'll be able to deal with class ordering. Thanks for your answer, JB On 31/10/2011

Re: [Puppet Users] Incorrect architecture fact value during catalog run

2011-10-31 Thread Adrien Thebo
Just as a curiosity, what web server are you using for your puppet master? On Mon, Oct 31, 2011 at 10:55 AM, Alexander Azarov alaz...@gmail.com wrote: This is Debian 6.0.3 On Monday, October 31, 2011 8:43:50 PM UTC+4, Adrien Thebo wrote: What operating system is this? I'm looking at the

Re: [Puppet Users] Incorrect architecture fact value during catalog run

2011-10-31 Thread Alexander Azarov
The simplest default, that is WEBrick I guess. On Monday, October 31, 2011 10:28:12 PM UTC+4, Adrien Thebo wrote: Just as a curiosity, what web server are you using for your puppet master? On Mon, Oct 31, 2011 at 10:55 AM, Alexander Azarov ala...@gmail.com wrote: This is Debian 6.0.3

Re: [Puppet Users] Re: Puppet class dependency

2011-10-31 Thread Jean Baptiste FAVRE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello John, Answers inline On 31/10/2011 15:40, jcbollinger wrote: Your setup is a bit strange in using arrow syntax within a class to declare a dependency of that class itself, though I'm not sure that shouldn't work. Instead, the key

[Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread treydock
On Oct 31, 1:05 pm, Dan Bode d...@puppetlabs.com wrote: On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation issue. All of the configuration was moved to a new parameter

[Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread treydock
On Oct 31, 1:56 pm, treydock treyd...@gmail.com wrote: On Oct 31, 1:05 pm, Dan Bode d...@puppetlabs.com wrote: On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 12:44 PM, treydock treyd...@gmail.com wrote: On Oct 31, 1:56 pm, treydock treyd...@gmail.com wrote: On Oct 31, 1:05 pm, Dan Bode d...@puppetlabs.com wrote: On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26

[Puppet Users] Announce: Facter 1.6.3rc1 available

2011-10-31 Thread Michael Stahnke
November welcomes us to another round of Release Candidates for our software. Facter 1.6.3rc1 is a maintenance release containing fixes, updates and refactoring. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.6.3rc1.tar.gz See the Verifying Puppet

Re: [Puppet Users] useradd question

2011-10-31 Thread Andrew Hendry
Hi Peter, Where do you call git::user and git::ssh from? Maybe the spots where you have require = User['git'], should they be require = Class['Git::User']? Andrew. On Tue, Nov 1, 2011 at 1:21 AM, Peter Horvath peter.horvat...@googlemail.com wrote: I am using Ubuntu LTS 10.04 with the

[Puppet Users] severe bug in 2.6.12: Caught TERM; calling stop

2011-10-31 Thread Jo Rhett
Mon Oct 31 23:03:31 + 2011 Puppet (notice): Caught TERM; calling stop Ever since the 2.6.12 upgrade I've been seeing these reports reach us. As in, about a hundred of a half thou machines. Most of the time we find that $vardir/state/puppetdlock is in place and blocking further puppet runs,

[Puppet Users] Re: Variable interpolation in class parameters

2011-10-31 Thread Steve Shipway
FWIW, I find I agree with jcbollinger on this one -- the class parameter declaration block is not a code block, so you should not use variables defined there to define other variables in the same block. That it works at all is surprising, and probably down to the order the parameters are

Re: [Puppet Users] useradd question

2011-10-31 Thread Peter Horvath
I call them here. /etc/puppet/manifests/site.pp #Puppet Node configurationsnode eurwebtest01 {        include apache2       include apache2::mods        include apache2::vhost-eurwebtest} node eurwebtest02 {        include apache2        include apache2::mods        include