Re: [Puppet Users] puppet-lvm and volume group issues

2010-10-17 Thread Paul Seymour
On 15 Oct 2010, at 21:51, Jeff Schmidt wrote: >> >> >> If I do it with a single physical volume it's fine, and if I run the >> command from the command line it's fine also. >> >> Any ideas ? >> >> Thanks > can you verify if the sd[bcd]'s have been 'pvcreate'd? > Yes the physical volumes hav

Re: [Puppet Users] strange problem with RHEL 4 and 0.25.2

2010-01-06 Thread Paul Seymour
On 7 Jan 2010, at 04:15, Matthew Delves wrote: > > On 7/01/2010 at 2:59 pm, Dan Bode wrote: >> Hi, >> >> Can you run it with --trace and post the output. >> > > > It comes in 2 parts > > Autorequiring File[/var/lib/puppet/ssl/certs] [0m For the record I am getting this too. Mucked a

[Puppet Users] Custom Provider with multiple default targets

2010-03-17 Thread Paul Seymour
Hello, If I have a custom provider which updates a file. How can I get it to write to 2 files at the same time without coding 2 things within the manifest one with target => and one without ? So multiple targets as the default_target Cheers Paul -- You received this message because you are s

Re: [Puppet Users] Re: custom type/provider load error

2010-04-30 Thread Paul Seymour
On 30 Apr 2010, at 12:27, Paul wrote: > Hello, > > Did this ever get an answer ? > > I am hitting the same thing. > Dammit the error I am seeing is:- err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb: undefined method `provide' for nil:NilClass -- Y

[Puppet Users] YUM Provider in 3.x

2014-05-16 Thread Paul Seymour
Hello, Working through some issues with upgrading our environment from 2.x to 3.5 (now I should probably target 3.6 !) anyway we have a module which does basically. package { 'openssh-server': ensure => 'absent', } package { '3rd-party-ssh': ensure => 'installed' } This 3rd party SSH pack

Re: [Puppet Users] YUM Provider in 3.x

2014-05-16 Thread Paul Seymour
It works. Thanks a lot my Google'ing turned up nothing -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view thi

[Puppet Users] Nasty.

2014-05-16 Thread Paul Seymour
Hello, Just updated to 3.6.0 and a strange thing is happening (might not be related to 3.6 specifically just testing before making the jump from 2.7 for real). I have a puppet master running under Apache/Passenger and when testing a client this happens:- $ puppet agent -t --no-daemonize --noo

[Puppet Users] Node definitions in 3.6 directory environments

2014-05-19 Thread Paul Seymour
Hello, Could I ask for a little clarification over node definitions in 3.6+ and directory environments please. On our 2.7 masters we have an /etc/puppet/manifests/site.pp with some defaults within it. import "nodes/*.pp" filebucket { 'main': server => 'puppet.dev', path => false, } Fil

Re: [Puppet Users] Nasty.

2014-05-19 Thread Paul Seymour
> > >> >> However if I shutdown the master and run it under a shell with "--debug >> --no-daemonize" everything is fine and clients (re-download) the >> facts/plugins >> and get a catalog etc. >> >> I am a bit mystified about this, and ideas ? >> > > Kind of a guess, but this *may* be > https:/

[Puppet Users] Puppet 3.6.1 Virtual Packages, and unrelated facts questions...

2014-05-23 Thread Paul Seymour
Hello, Just updated the test environment to 3.6.1 and I know the changes have been made for virtual packages. But now each agent output displays this:- Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not wa

[Puppet Users] Re: Puppet 3.6.1 Virtual Packages, and unrelated facts questions...

2014-05-23 Thread Paul Seymour
> > Now this may be related to 3.6.x but I cannot say for sure. A couple of > facts we use are now throwing some errors. > > First is:- > Could not retrieve fact='concat_basedir', resolution='': > uninitialized constant Puppet > > Which comes from:- > Facter.add("concat_basedir") do > setcod

Re: [Puppet Users] Puppet 3.6.1 Virtual Packages, and unrelated facts questions...

2014-05-23 Thread Paul Seymour
> > > +1 - let's file a bug report. > https://tickets.puppetlabs.com/browse/PUP-2650 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr..

[Puppet Users] SRV Records and Multiple Masters

2014-07-18 Thread Paul Seymour
Hello, Just looking for a little "best practice" advice. If I am using DNS SRV records to load-balance and use multiple Puppet Masters, and CA servers (certificate data is sync'ed) which is the best recommended way of generating the master certificate ? So I set certname in the [master] sectio

[Puppet Users] PuppetDB Catalog Duplication and Multiple Masters

2014-08-18 Thread Paul Seymour
Hello, Using multiple Puppet masters behind SRV records is working well although I suspect the low duplication rates I am seeing is down to the fact the load balancing is split between the nodes and the servername/serverip being recorded is different when hitting the other Puppet master in the

Re: [Puppet Users] PuppetDB Catalog Duplication and Multiple Masters

2014-08-18 Thread Paul Seymour
On Monday, 18 August 2014 14:56:59 UTC+1, Ken Barber wrote: Can you share the pertinent part of the diffs so we can see exactly > what differences you mean? I'm not sure I am aware of the > servername/serverip cases you mention in any core modules or core > resources, perhaps these are being

[Puppet Users] PuppetDB 2.2 and pg_trgm extension

2014-08-30 Thread Paul Seymour
Hello, Bumping my installation up to Postgres 9.3.5 and PuppetDB 2.2 I noticed in the release notes about the pg_trgm extension (hence the Postgres update) However on installing them and setting up the extension (seemingly correctly):- $ psql psql (9.3.5) Type "help" for help. postgres=# \dx

[Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-08-30 Thread Paul Seymour
Ignore me didn't add the extension to the PuppetDB database. Added it to the puppetdb DB and hey presto:- 2014-08-30 08:40:27,935 INFO [c.p.p.s.migrate] Creating additional index `fact_paths_path_trgm` Too early in the morning for this sh.. Cheers Paul -- You received this message because yo

[Puppet Users] Trouble with future parser ?

2017-01-03 Thread Paul Seymour
Hi, OK trying to evaluate how much work and effort it's going to be to move to Puppet v4.x I have switched on the future parser in our Dev environment. I am now getting this kind of thing:- $ puppet agent -t --trace Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error:

Re: [Puppet Users] Trouble with future parser ?

2017-01-03 Thread Paul Seymour
On Tuesday, 3 January 2017 10:59:42 UTC, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Paul Seymour" > > > To: "puppet-users" > > > Sent: Tuesday, 3 January, 2017 11:57:02 > > Subject: [Puppet Users]

Re: [Puppet Users] Trouble with future parser ?

2017-01-03 Thread Paul Seymour
On Tuesday, 3 January 2017 11:07:53 UTC, R.I. Pienaar wrote: > > > > > yes, so this class needs access to the variable in question, best to pass > it > into it as a property > Yeah got it thanks. What I missed looks way more obvious when I lay it out in a mail. Not fully back after the holid

[Puppet Users] Facter via cron hanging on RHEL5

2014-10-20 Thread Paul Seymour
Hello, We run facter via cron on all hosts regularly for mcollective filtering this is now hanging on 2.x.x (2.1, and 2.2 tried). Facter run on various RHEL5 systems (both physical and virtual) hangs when executed via cron. Crontab Entry:- $ cat /etc/cron.d/mcollective-yaml-update 10 * * * * r

Re: [Puppet Users] Facter via cron hanging on RHEL5

2014-10-21 Thread Paul Seymour
On Monday, 20 October 2014 17:20:23 UTC+1, Wil Cooley wrote: > > > On Oct 20, 2014 1:41 AM, "Paul Seymour" > > wrote: > > > > This didn’t happen with 1.6.x which was our previous version.And I > cannot find a RHEL6 host with this issue. So I suspect

[Puppet Users] PuppetDB Queries

2014-11-18 Thread Paul Seymour
Hello, Would like to use PuppetDB to find out more about the estate inventory. Specifically at the moment I am trying to find out the amount of servers using "productname", and the "physicalprocessorcount" for each - both with totals. Is this doable from the API at all, or easier from inside P

[Puppet Users] PuppetDB errors

2014-11-19 Thread Paul Seymour
Hello, Getting a couple of errors thrown with PuppetDB 2014-11-19 08:03:49,120 ERROR [c.p.p.command] [22329b48-7c20-4ec4-beb2-15cd02e11bff] [replace facts] Retrying after attempt 8, due to: org.postgresql.util.PSQLException: ERROR: update or delete on table "fact_paths" violates foreign key co

Re: [Puppet Users] PuppetDB errors

2014-11-20 Thread Paul Seymour
On Wednesday, 19 November 2014 17:56:23 UTC, Wyatt Alt wrote: > > Hey Paul, > > That's some kind of DB corruption. Shouldn't be happening. Do you have > any sense of when this started or whether it was tied to a recent > upgrade? Is there a stacktrace in your logs that you could gist? Does it

Re: [Puppet Users] PuppetDB errors

2014-11-24 Thread Paul Seymour
es to repopulate it, but that could >> take some maneuvering depending on your situation/data needs. >> >> Wyatt >> >> >> On 11/20/14 12:29 AM, Paul Seymour wrote: >> >> >> >> On Wednesday, 19 November 2014 17:56:23 UTC, Wyatt Alt wrot

[Puppet Users] Re: Announce: Native Facter (cfacter) 0.3.0 is available!

2015-02-03 Thread Paul Seymour
> Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it > complains:- > "Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed." Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM

Re: [Puppet Users] Re: Announce: Native Facter (cfacter) 0.3.0 is available!

2015-02-04 Thread Paul Seymour
On Wednesday, 4 February 2015 23:07:46 UTC, Melissa Stone wrote: > > > > On Tue, Feb 3, 2015 at 5:37 AM, Paul Seymour > wrote: > >> >> >>> Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it >>> complains:- >>> >

[Puppet Users] Re: Multi-master with SRV records

2015-05-06 Thread Paul Seymour
On Tuesday, 5 May 2015 21:09:31 UTC+1, Justin Lambert wrote: > > I need to build a new puppet environment and was looking at using SRV > records for a multi-master setup. Having a single master and SRV records > works great, but I haven’t successfully been able to build a second master. > > >