[Puppet Users] Re: NFS clients - puppet hang when mount point

2011-11-11 Thread madAndroid
Thank you so much to all who responded - we've managed to rewrite our classes to use the mount directive rather (and quite quickly and painlessly), and it seems a much better way than we had before (using file and exec resources/directives). Still experiencing the timeouts during the puppet run whe

Re: [Puppet Users] Puppet runs in test mode but hangs as service

2011-11-11 Thread Chip Schweiss
I think the symptom is similar. but my my case the daemon run, never happens. It just starts, creates the lock file as sits idle forever. On Thu, Nov 10, 2011 at 6:21 PM, Len Rugen wrote: > I think this is the same problem as one I posted about earlier today. > > On Thu, Nov 10, 2011 at 3:23 P

Re: [Puppet Users] Puppet runs in test mode but hangs as service

2011-11-11 Thread Len Rugen
I'm having 2 issues, one like yours, and another where puppet daemon will work for awhile, then fail, leaving puppetdlock file. Do you have a puppetdlock file left after your daemon has been running long enough to try to run? It may be immediately, but we use splay, so have to wait awhile. On Fr

[Puppet Users] Managing /etc/fstab with puppet

2011-11-11 Thread hammi
Hey everyone, I'm trying to figure out how to manage my /etc/fstab with puppet on all my servers. Does anybody have an idea for me how to do? I tried it with augeas but I didn't like the results I got so far... here is what I've tried: define conf ( $id = "01", $spec = " ",

[Puppet Users] How does puppet copy files?

2011-11-11 Thread Dmitry
Hello! Imagine that I have the following in my puppet manifest: file { '/etc/master.passwd': mode => 0600, source => 'puppet:///modules/test/etc/master.passwd', } When agent notices that master.passwd should be refreshed, how exactly does copy process happen? Is it atomic (e.g. fetch

[Puppet Users] Help install and sign certtificate

2011-11-11 Thread Rafael Tomelin
people, The problem this time to generate the certificate showing that the following errors PUPPET MASTER [root @ puppet puppet-server] # puppetca - list [root @ puppet puppet-server] # puppetca - list - all Puppet-agent03.domain + (C0: 20:0 C: CA: 0D: CE: 0B: B0: FF: 71:51:73:5 B: 16: B6:00)

[Puppet Users] Suppress duplicate Notify on client

2011-11-11 Thread Dimi
Hi, I'm a puppet beginner and I'm using quite a few notify{} snippets to debug my scripts. When I use puppetd --test on the client machine, I get duplicate messages, one is the clean version (just the text I want to output) and straight after is a more formal version of my notification, like the ex

[Puppet Users] Advocacy Material

2011-11-11 Thread Daniel Shaw
Hi, I have dabbled with Puppet in previous positions, had success and loved it. My current employer does not have in place any systems management tools and is an ideal candidate for another Puppet installation. I obviously need to run this by a superior before I can implement it on production syst

Re: [Puppet Users] Puppet runs in test mode but hangs as service

2011-11-11 Thread Peter Smith
On 11 November 2011 00:21, Len Rugen wrote: > I think this is the same problem as one I posted about earlier today. > > > On Thu, Nov 10, 2011 at 3:23 PM, Chip Schweiss wrote: > >> This is on Centos 5.7 with puppet 2.6.9. This installation has been >> running for about a year and now nearly all

[Puppet Users] Puppet Windows: test if non-MSI package already installed

2011-11-11 Thread aring
Hello Puppet Cohorts, I wish to install programs on Windows that do not use the MSI installer. After finding a guide on-line for silencing most installers (http://unattended.sourceforge.net/installers.php) I feel confident I can write a short script for Puppet to "exec" on my hosts to silently in

Re: [Puppet Users] Puppet runs in test mode but hangs as service

2011-11-11 Thread Chip Schweiss
Yes the lock file is created immediately and never runs. The logs report "info: Retrieving plugin" as the last thing it tries to do. The puppet master never shows it makes a connection. On Fri, Nov 11, 2011 at 8:49 AM, Len Rugen wrote: > I'm having 2 issues, one like yours, and another where p

Re: [Puppet Users] Hiera - How to set a parameter to the value false

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I've been using hiera for a few weeks now, but I'm stuck now trying > to set a value to false > > Basically, I have a class that read its parameter in hiera, and in > a yaml file I have the following code: > > --- use_ecrypt_fs: true server_region:

Re: [Puppet Users] How does puppet copy files?

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > When agent notices that master.passwd should be refreshed, how > exactly does copy process happen? Is it atomic (e.g. fetch to some > temp filename on local filesystem and then rename)? it does it this way. ~pete -BEGIN PGP SIGNATURE- Ver

Re: [Puppet Users] Puppet Dashboard 1.2.2; node report; change sort in log tab

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2011 08:55 PM, Stefan Heijmans wrote: > The sorting in the log tab on a node report seems to be on the > level column, which is hard to read when multiple changes take > place, as notice and info of the actions are on the top and bottom > of t

Re: [Puppet Users] Puppet Windows: test if non-MSI package already installed

2011-11-11 Thread Josh Cooper
Hi Andrew, On Fri, Nov 11, 2011 at 9:19 AM, wrote: > Hello Puppet Cohorts, > > I wish to install programs on Windows that do not use the MSI installer. > > After finding a guide on-line for silencing most installers > (http://unattended.sourceforge.net/installers.php) I feel confident I can > wr

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

2011-11-11 Thread Adrien Thebo
Sorry for the slow response on this, it's been a chaotic few days. I'm still very baffled by this. Could you do something like `find / -name 'architecture.rb'` to see if there's any way there could be another fact definition for this? Although at this point I'm starting to suspect bogons. On Fri,

[Puppet Users] Re: Puppet Dashboard 1.2.2; node report; change sort in log tab

2011-11-11 Thread Stefan Heijmans
Ok, will create a feature request for this. On 11 nov, 18:58, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/07/2011 08:55 PM, Stefan Heijmans wrote: > > > The sorting in the log tab on a node report seems to be on the > > level column, which is hard to read when m

Re: [Puppet Users] Managing /etc/fstab with puppet

2011-11-11 Thread Len Rugen
mount { "/vtl/$vtldir": ensure => mounted, device => "server:/nfsdir/$vtldir", atboot => true, fstype => "nfs", options => "intr,hard,rsize=32768,wsize=32768,proto=tcp,vers=3,nolock", require =>

[Puppet Users] Announce: Facter 1.6.3 available

2011-11-11 Thread Matthaus Litteken
Facter 1.6.3 is a maintenance release containing fixes, updates and refactoring. It resolves issues #7038, #10228, and #10233. Full release notes below. This release is available for download at: http://puppetlabs.com/downloads/facter/facter-1.6.3.tar.gz See the Verifying Puppet Download secti

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

2011-11-11 Thread Alexander Azarov
No problems, I've isolated the part of manifest that depends on "architecture", so everything works through a hack right now. # find / -name architecture.rb /usr/lib/ruby/vendor_ruby/facter/architecture.rb /var/lib/vservers/worker/usr/lib/ruby/1.8/facter/architecture.rb /var/lib/vservers/mongo/us