Re: [Puppet Users] Puppet/facter and update reporting

2011-07-25 Thread Ohad Levy
On Tue, Jul 26, 2011 at 5:04 AM, Khoury Brazil wrote: > On Sat, Jul 23, 2011 at 8:15 PM, Jacob Helwig wrote: >> On Fri, 22 Jul 2011 19:28:37 -0700, Khoury wrote: >>> >>> Hi All, >>> >>> Does anyone have any experience with debian/ubuntu and or OS X with >>> regard to reporting on updates? I'm int

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-25 Thread Scott Smith
Mcollective uses a message queue. If the host isn't online, it just won't show up. If your laptop is turned off, it wouldn't be reporting either way. On Mon, Jul 25, 2011 at 7:04 PM, Khoury Brazil wrote: > On Sat, Jul 23, 2011 at 8:15 PM, Jacob Helwig > wrote: > > On Fri, 22 Jul 2011 19:28:37 -0

[Puppet Users] puppet not installing relevant library files

2011-07-25 Thread KarthiKeyan. Kesavan
Hi, I tried to exec dpkg cmd to install the deb file in my puppet debian client . I am getting error due to related library files. Please suggest me how to automate the same. Due to security reasons i cant enable repo urls in my /etc/apt sources-list file. Regards chebrian -- You received th

[Puppet Users] Re: service start/stop

2011-07-25 Thread John Martin
And adding to Craig's comment, you should "sudo su -" to root in order to run the service script in same fashion as Puppet will. Sometimes the user environment is setup differently (i.e. JAVA_HOME). John -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] ruby dsl, loading files from within the modules

2011-07-25 Thread Scott Smith
Sounds like a good use case for writing a custom fact. On Mon, Jul 25, 2011 at 5:09 PM, Matt wrote: > Is there a way to load a file from within the module in Ruby DSL? > > The idea I have is to load a file similar to like how template works. > > I'm trying to read in a database properties file a

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-25 Thread Khoury Brazil
On Sat, Jul 23, 2011 at 8:15 PM, Jacob Helwig wrote: > On Fri, 22 Jul 2011 19:28:37 -0700, Khoury wrote: >> >> Hi All, >> >> Does anyone have any experience with debian/ubuntu and or OS X with >> regard to reporting on updates? I'm interested in getting update >> (specifically security) states for

[Puppet Users] ruby dsl, loading files from within the modules

2011-07-25 Thread Matt
Is there a way to load a file from within the module in Ruby DSL? The idea I have is to load a file similar to like how template works. I'm trying to read in a database properties file and I would like to keep within the module instead of hard coding paths. -- You received this message because

[Puppet Users] ANNOUNCE: Puppet 2.7.2rc2 is available

2011-07-25 Thread Michael Stahnke
Puppet 2.7.2rc2 is available. We apologize for the delay in releasing this RC. We had a bug we were trying to track down and reproduce internally to fix, but it turned out to be a false positive. New since rc1 === 8ec0804 (#8301) Red Hat spec file for 2.7.2rc1 won't work 2263be6 (#5108) Update

Re: [Puppet Users] Re: service start/stop

2011-07-25 Thread Craig White
On Jul 25, 2011, at 10:43 AM, Alexis Midon wrote: > Hi Craig, > thank you for you answer. > > I also tried 'has_restart => true,' before posting on this group. It > did not fix the behavior I described: jenkins getting killed but not > restarted. > > Regarding 'refresh', you seem to imply tha

Re: [Puppet Users] Re: service start/stop

2011-07-25 Thread Khoury Brazil
On Mon, Jul 25, 2011 at 10:43 AM, Alexis Midon wrote: > Hi Craig, > thank you for you answer. > > I also tried 'has_restart => true,'  before posting on this group. It > did not fix the behavior I described: jenkins getting killed but not > restarted. > > Regarding 'refresh',  you seem to imply th

Re: [Puppet Users] Re: puppetmaster SSL_Read

2011-07-25 Thread Nigel Kersten
On Mon, Jul 25, 2011 at 8:44 AM, c.clifton wrote: > I did find that this error is being generated/caused by 1 host, on > that host it appears to be related to the report generation, > > puppet agent log from host that's generating the error- > puppet-agent[12044]: Could not send report: Error 400

[Puppet Users] Re: service start/stop

2011-07-25 Thread Alexis Midon
Hi Craig, thank you for you answer. I also tried 'has_restart => true,' before posting on this group. It did not fix the behavior I described: jenkins getting killed but not restarted. Regarding 'refresh', you seem to imply that the log message "Triggered 'refresh' " means that puppet will try

[Puppet Users] Re: puppetmaster SSL_Read

2011-07-25 Thread c.clifton
I did find that this error is being generated/caused by 1 host, on that host it appears to be related to the report generation, puppet agent log from host that's generating the error- puppet-agent[12044]: Could not send report: Error 400 on SERVER: SSL_read:: internal error Still looking for what

[Puppet Users] puppetmaster SSL_Read

2011-07-25 Thread c.clifton
Seeing 'SSL_read' errors being logged by puppetmaster. Anyone know what causes these or how to correct? They're sporadic, not happening all the time or on all puppet runs. /var/log/puppet/masterhttp.log [2011-07-25 10:00:10] ERROR OpenSSL::SSL::SSLError: SSL_read:: internal error /var/log/messag

[Puppet Users] Re: lstat on a large dir done by puppet

2011-07-25 Thread jcbollinger
On Jul 25, 9:06 am, Peter Meier wrote: > > The swapfiles is a large directory with lots of files. Is there a way > > to avoid this, since its taking lots of time to compile the catalog > > from the puppetmaster. Can i somehow prevent this? > > I guess it's not during compilation, as this happens

[Puppet Users] Re: Relationships (puppet 2.7)

2011-07-25 Thread jcbollinger
On Jul 25, 8:56 am, rvlinden wrote: > All, > > I was wondering if I could create a relationship between a define and > an exec (without using stages) Certainly, and you provide an example yourself. I guess your question is rather how to set up certain particular relationship(s). > Example >

Re: [Puppet Users] Random error in the recovery catalog

2011-07-25 Thread Peter Meier
> I have about 130 customer puppet. > I left the default time interval. Are you still running with default webrick on the puppetmaster? (If you didn't change anything, then yes you are). If yes, it's time to scale out and use either a Mongrel or Passenger-based Setup: http://projects.puppetlabs.c

Re: [Puppet Users] service start/stop

2011-07-25 Thread Craig White
On Jul 24, 2011, at 10:50 PM, Alexis Midon wrote: > Hi, > > I'm use the continuous integration server Jenkins. It's deplyed as a > debian package on ubuntu. Puppet seems to have some issues restarting > the service. Actually when a 'refresh' is needed, the jenkins process > is killed but not res

Re: [Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-25 Thread vagn scott
On 07/25/2011 08:47 AM, jcbollinger wrote: Puppet should not, and typically doesn't, apply resources that require a failed resource. The content of the file managed by File["Make_Sudo_File_Live"] is not directly relevant. I wonder what would happen if he spelled his dependency chain like t

Re: [Puppet Users] Accessing puppet.conf settings in a manifest

2011-07-25 Thread Peter Meier
On 07/25/2011 05:07 AM, Zain Memon wrote: > Is there some way I can access variables from puppet.conf (e.g. > $confdir) in my manifest? ${settings::confdir} but in a master client/setup these are the settings from the master. So what you want to do is to write a custom fact that exposes your setti

Re: [Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread Peter Meier
> The swapfiles is a large directory with lots of files. Is there a way > to avoid this, since its taking lots of time to compile the catalog > from the puppetmaster. Can i somehow prevent this? I guess it's not during compilation, as this happens on the master, rather while applying the catalog.

[Puppet Users] Relationships (puppet 2.7)

2011-07-25 Thread rvlinden
All, I was wondering if I could create a relationship between a define and an exec (without using stages) Example I call a define 'sudo::manage' with the variable '$sudofile' where the variable contains and array or sudofiles I want to deploy. sudo::manage { $sudofile: } Once the sudofiles are

Re: [Puppet Users] Semi-architectural question - data inside code-tree.

2011-07-25 Thread John Hawkes-Reed
On 22 Jul 2011, at 22:14, Michael Knox wrote: > On 22/07/11 12:57 AM, John Hawkes-Reed wrote: >> Hello. >> >> As part of our Puppet rig, we manage a number of zonefiles with NSD. This >> means that there's a directory of datafiles under >> ../puppet/modules/nsd/files/zones/ (and something some

[Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread linuxbsdfreak
Hi All, I did an strace on the puppet client strace puppet agent --test --noop and found out that it does an lstat and open. something like this lstat("/opt/swapfiles/GQ/example1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/opt/swapfiles/GQ/example1", O_RDONLY|O_NONBLOCK|O_DIRECTORY) =

[Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-25 Thread jcbollinger
On Jul 22, 8:45 am, vagn scott wrote: > On 07/22/2011 09:08 AM, jcbollinger wrote: > > > Well yes, but that's not relevant to the OP's problem.  I had in fact > > supposed that he omitted all that so as to provide a smaller failure > > case. > > The OP's problem is that he is not including the h

Re: [Puppet Users] Dashboard and remote MySQL BDD

2011-07-25 Thread david ramblewski
Hi, Thanks for your advice, it works. Best regards, David On Fri, Jul 22, 2011 at 6:11 PM, Greg Sutcliffe wrote: > On 21 July 2011 11:19, david ramblewski wrote: >> >> Hi, >> >> I've installed Dashboard on my server and I aim to remotely request >> the MySQL Database. >> All documentations re