Re: [Puppet Users] Puppet high-availability

2010-04-14 Thread Trevor Hemsley
eceived this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For mo

Re: [Puppet Users] Re: Puppet manifests under version control issue

2010-04-29 Thread Trevor Hemsley
/puppet-users?hl=en>. > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com > <mailto:puppet-users@googlegroups.com&

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-28 Thread Trevor Hemsley
o put "include facility::sjc" at the node > level, then why is "$facility_name = sjc" any worse? > > I am unlikely to help you any further, unless there's a dramatic > improvement in your attitude, and your ability

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Trevor Hemsley
done: 236,912 bytes > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 92160 bytes) in > /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 170 > = > > Can anyone help

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Trevor Hemsley
wn php.ini that can be amended to suit site requirements. On 03/08/2010 12:50, li...@truthisfreedom.org.uk wrote: > Quoting Trevor Hemsley : > >> When I look in my /usr/bin/pecl file I see that it is a 4 line shell >> script and one of the parameters there sets the memory_limit.

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-12 Thread Trevor Hemsley
rbose And, as listed above - that's the last message I am seeing .. :S Any other logs etc. I could give ? -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * 4th Floor, Tower Point, 44 North Road, Brighton, BN1 1YR, UK OFFICE

Re: [Puppet Users] Puppet + APT, I am lost...

2010-08-31 Thread Trevor Hemsley
ieve what I want with Puppet? If so, how? > > I have tried to fiddle around with the new run stages feature, but that > got me in a circular dependency mess I couldn't get out of. > > Desperately hoping for hints... > > Best regards, > Martijn. > -- Trevor Hem

[Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Trevor Hemsley
because the atime on puppet.conf is reset back to its original value and the second is the crash. -- Trevor Hemsley Infrastructure Engineer . *C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666 350 FAX

Re: [Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Trevor Hemsley
der runs a backup of the entire system including /etc/puppet. I have asked them not to do so in the hope that this will fix my problem. On 21/10/2010 15:43, Patrick wrote: > On Oct 21, 2010, at 3:13 AM, Trevor Hemsley wrote: > >> About a year ago there was a discussion about why a pu

Re: [Puppet Users] RFC: Make file content specification methods consistent.

2010-10-31 Thread Trevor Hemsley
Simon Deziel wrote: I would prefer to use " + " as the separator to indicate concatenation. +1 This sounds like the ideal solution to me and clearly indicates that the strings are to be concatenated. -- Trevor Hemsley Infrastructur

Re: [Puppet Users] updating kernel in centos shows failure

2010-11-05 Thread Trevor Hemsley
This is a long standing bug that currently seems to have no action scheduled for it. https://projects.puppetlabs.com/issues/1720 -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * 4th Floor, Tower Point, 44 North Road, Brighton, BN1 1YR

Re: [Puppet Users] updating kernel in centos shows failure

2010-11-05 Thread Trevor Hemsley
This is a long standing bug that currently seems to have no action scheduled for it. https://projects.puppetlabs.com/issues/1720 -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * 4th Floor, Tower Point, 44 North Road, Brighton, BN1 1YR

Re: [Puppet Users] updating kernel in centos shows failure

2010-11-05 Thread Trevor Hemsley
R P Herrold wrote: On Fri, 5 Nov 2010, Trevor Hemsley wrote: Steve Hoffman wrote: .../Package[kernel]/ensure) change from 2.6.18-194.el5 to 2.6.18-194.17.4.el5 failed: Could not update: Failed to update to version 2.6.18-194.17.4.el5, got version 2.6.18-194.el5 instead at ... # rpm -qa

Re: [Puppet Users] best way to ensure (yum) package repository freshness ?

2010-11-18 Thread Trevor Hemsley
le, and thus isn't aware of the existence of the new package. > > My question is this : what have other Puppet admins done in order to > ensure that a target machine has the freshest local dbcache before > attempting to install a package ? > > Thank you. >

Re: [Puppet Users] Developing functions

2010-12-01 Thread Trevor Hemsley
rs" group. > To post to this group, send email to puppet-users@googlegroups.com > <mailto:puppet-users@googlegroups.com>. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com >

Re: [Puppet Users] Developing functions

2010-12-01 Thread Trevor Hemsley
that option, puppet helpfully ignores the error and presents the older version of the manifest to you resulting in exactly the symptoms you are complaining about. -- Trevor Hemsley Infrastructure Engineer . *C A L Y P S O * Brig

Re: [Puppet Users] Augeas not saving changes

2010-12-02 Thread Trevor Hemsley
tool and that works. Puppet fails silently though. Suggestions? class haproxy { package { "haproxy": ensure => "1.4.8-1" ; } augeas { "ip_forward": changes => "set /files/etc/sysctl.c

[Puppet Users] Re: Multiple version of the same package

2009-06-11 Thread Trevor Hemsley
o-2.3", >ensure => "2.3-1"; > } > > Is there a better way http://projects.reductivelabs.com/issues/1720 -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666 350 FAX

[Puppet Users] Obtaining puppet and facter for RHEL5/Centos5

2009-06-12 Thread Trevor Hemsley
et-server 0.24.8-1.el5.1 and facter 1.5.4-1.el5 which is better but isn't 1.5.4 the version that hangs? In epel-testing there is no puppet-server but there is a facter 1.5.5-1.el4 but that sounds like a release for RHEL4 not 5. Is there a repo that I am not checking? -- Trevor Hemsley

[Puppet Users] Re: Obtaining puppet and facter for RHEL5/Centos5

2009-06-12 Thread Trevor Hemsley
t for facter (1.5.5-1.el4 vs .el5). I suspect it probably works anyway but I haven't checked it to find out. -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666

[Puppet Users] Re: Obtaining puppet and facter for RHEL5/Centos5

2009-06-12 Thread Trevor Hemsley
needs to be told to --enablerepo=epel-testing in order to clean the cache for that repo (yes, it's documented but only when you bother to look it up :) ) -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * Brighton, UK OFFICE +44 (0) 127

[Puppet Users] Re: puppetd no-daemonize

2009-07-24 Thread Trevor Hemsley
0:00 /usr/bin/ruby > > /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug > > root 2541 0.0 0.2 4888 648 pts/1S+ 17:41 > 0:00 grep puppet > > It is doing --onetime correctly but still regardless of putting > > --no-daemonize or not it stil

[Puppet Users] Re: storeconfigs storms?

2009-07-29 Thread Trevor Hemsley
Brice Figureau wrote: > What I suggest you is if it happens next time, is to use innotop and > have a look to the live running queries. You might find that you have > one or more "slow" queries. > The slow query log might be a better alternative. -- Trevor Hemsley I

[Puppet Users] Puppet, selinux and semanage

2009-07-30 Thread Trevor Hemsley
object_r:tmp_t:s0 tclass=file type=SYSCALL msg=audit(1248953113.972:3457): arch=4003 syscall=11 success=yes exit=0 a0=9bd0ee8 a1=9bd1380 a2=9bd1280 a3=40 items=0 ppid=15234 pid=15821 auid=525 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=443 com

[Puppet Users] Augeas and grub.conf

2009-07-31 Thread Trevor Hemsley
b lens only works if /boot/grub/grub.conf resides on the same file system as /etc otherwise augtool craps out with an error about being unable to save a cross file system link. Short of editing the lens file, I'm not sure how to solve that one. If anyone knows how to fix that without the edit th

[Puppet Users] Re: Augeas and grub.conf

2009-08-03 Thread Trevor Hemsley
ores the password line if it appears after the image lines :( Bryan Kearney wrote: > Trevor Hemsley wrote: > >> Having just spent about 2 hours trying to work out how to add a >> >> password --md5 $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1 >> >> line to my grub.conf

[Puppet Users] Re: Variables redefine

2009-08-18 Thread Trevor Hemsley
{" > file { "/var/tmp/myclass.conf": > owner => root, > group => wheel, > mode => 640, > backup=> false, > content => template("myclass.conf"), > require => file

[Puppet Users] Re: Even the "Simplest Puppet Install Recipe" apparently isn't simple enough

2009-09-04 Thread Trevor Hemsley
4 > That's a very old version. Better try with 0.24.8 from EPEL instead of rpmforge. > err: Could not retrieve configuration: Certificates were not trusted: > hostname not match with the server certificate > err: Could not run Puppet::Network::Client::Master: Cannot co

[Puppet Users] Re: modifying a client's config file

2009-09-12 Thread Trevor Hemsley
t;/usr/share/augeas/lenses/grub.aug"] } Because of a bug in the current Augeas I have a copy of /usr/share/augeas/lenses/dist/grub.aug in /usr/share/augeas/lenses/grub.aug where I've edited the hard coded location of /etc/grub.conf to /boot/grub/grub/conf, hence the re

[Puppet Users] Re: Running puppet as non-root => getting rid of all those ownership warnings

2009-09-30 Thread Trevor Hemsley
to the owner/group of the source file from your puppetmaster. If you specify the owner/group to be the ones you are running puppetd as then I think the warnings should go away. -- Trevor Hemsley Infrastructure Engineer . * C A L Y

[Puppet Users] Re: Require Class?

2009-10-26 Thread Trevor Hemsley
uot;] on your resource in the dependent class. From comments that I've seen posted here, I gather that this then means that all items in the dependent class become dependent on the required class though I always explicitly include it on all the resources that really are dependent.

[Puppet Users] Re: puppet hanging unexpectedly

2009-11-10 Thread Trevor Hemsley
munication between puppetmaster and > client , but i use --test option everything seems to work fine . > > Output of puppet client when it is hung : > http://pastebin.com/m7e344125 > > > Please help me to debug or point me to some debugging technique . > &

Re: [Puppet Users] Re: Run a script when it has been changed.

2010-01-14 Thread Trevor Hemsley
t;>>> err: Could not create /usr/bin/data/get_data.sh restart: Parameter >>>> subscribe failed: Relationships must be resource references at /usr/ >>>> local/etc/puppet/modules/data/manifests/init.pp:237 >>>> warning: Not using cache on failed catalog

Re: [Puppet Users] Re: Issue with '|'

2010-02-25 Thread Trevor Hemsley
esn't. Does that make sense? Anyway, > inserting the pipe back into it produces the same error as before. > It's perplexing... > -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * B

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Trevor Hemsley
the client backward compatible, good one! Doug. -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O * 4th Floor, Tower Point, 44 North Road, Brighton, BN1 1YR, UK OFFICE +44 (0) 1273 666 350 FAX +44 (0) 1273 666 351

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Trevor Hemsley
end email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Trevor Hemsley Infrastructure Engineer

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Trevor Hemsley
ures manages_passwords; not managing attribute password On Mon, Mar 15, 2010 at 3:54 PM, Trevor Hemsley mailto:trevor.hems...@codefarm.com>> wrote: I think this might be a ruby problem due to that being such an ancient version. There are Centos 4 packages for ruby 1.8.5 which

[Puppet Users] Re: puppet and LDAP users

2009-03-01 Thread Trevor Hemsley
see are that puppet is not requesting a full DN though. It's 'forgetting' to append ldapbase to the end of the query so it's unsurprising that it is not working. -- Trevor Hemsley Infrastructure Engineer . * C A L Y P S O *

[Puppet Users] Re: puppet and LDAP users (SOLVED)

2009-03-01 Thread Trevor Hemsley
p?' true Much experimentation later... fixed, I had to specify the ldapxxx = parameters in the [puppetd] stanza of /etc/puppet/puppet.conf to make it work. e.g [puppetd] ldapserver=ldap.myorg.company.com ldapbase=dc=myorg,dc=org ldapuser=cn=admin,dc=myorg,dc=or

[Puppet Users] Get uncaught exception when using LDAP users in multiple groups

2009-03-04 Thread Trevor Hemsley
groups => ["opt-query"] } ldapuser {"opt-arch": home => "/some/dir/here", shell => "/sbin/nologin", uid => "507", groups => [ "

[Puppet Users] Re: Get uncaught exception when using LDAP users in multiple groups

2009-03-04 Thread Trevor Hemsley
/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:179:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:255:in `run' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:

[Puppet Users] Re: Get uncaught exception when using LDAP users in multiple groups

2009-03-04 Thread Trevor Hemsley
Luke Kanies wrote: > Definitely a bug; can you file it with the stack trace? > Bug #2050. I'm willing to work with anyone to help debug this as it has crippled my development of a new grid that I have to roll out very soon. Thanks. -- Trevor Hemsley Infrastructu

[Puppet Users] Re: creating symlinks?

2009-03-09 Thread Trevor Hemsley
ation I had thought that this: > >file { "/var/puppet": > ensure => "/var/lib/puppet" >} > > > should create a symlink /var/puppet which points to the directory > /var/lib/puppet > > It doesn't seem to be worki

[Puppet Users] Re: custom facts not working

2009-03-09 Thread Trevor Hemsley
do\n confi"..., 4096) = 1435 >>> >>> so I can tell that facter is reading this new fact file. >>> >>> But when, from the commandline, I run "facter" or "facter virtual" I >>> don't >>> get the expected output. >

[Puppet Users] Re: custom facts not working

2009-03-11 Thread Trevor Hemsley
Avi Miller wrote: > Trevor Hemsley wrote: > >> It appears that $virtual doesn't work on Xen :( >> > > It does for me. I get $virtual = xenu or xen0 on my boxes. Will have to > check the exact Facter version, but I can tell you it's whatever's in E

[Puppet Users] Re: Possible bug in 0.24.6 -- crashing puppetmasterd.

2009-03-19 Thread Trevor Hemsley
gain, it would set them back to 644. > > Eventually, the puppetmasterd crashed with no error message. > > Obviously, I shouldn't be doing this, but it seems like puppetmasterd > shouldn't fail either. > > Any

[Puppet Users] Re: Possible bug in 0.24.6 -- crashing puppetmasterd.

2009-03-19 Thread Trevor Hemsley
il/settings.rb:343:in `parse' from /usr/lib/ruby/site_ruby/1.8/puppet.rb:177:in `parse_config' from /usr/sbin/puppetd:274 I'll raise two bugs then :( -- Trevor Hemsley Infrastructure Engineer .

[Puppet Users] Re: Calling a define multiple times....

2009-03-30 Thread Trevor Hemsley
password=> "password", > privs => "ALL PRIVILEGES", > objects => "*.*", > host=> "10.%", > } &

[Puppet Users] Re: creating symlinks with wildcards

2009-05-12 Thread Trevor Hemsley
he need > for shell expansion. > > file { "/usr/java/java": > ensure => "/usr/java/jdk1.*" > } > > Is their another way to do this in the puppet framework? I can do this > using exec, but I wanted to work from w

[Puppet Users] Re: Vote for your favorite ticket

2009-06-03 Thread Trevor Hemsley
> > Damn. Okay - can I get some hands up and down as to who can see or not > see up and down arrows in the ticket details? I've included a > screenshot of what you should see. > > Thanks > > James > > > >