Re: [Puppet Users] Re: Which version of Puppet am I using?

2017-05-04 Thread fatmcgav
You should be able to roll Puppetboard back to an earlier version that supports PuppetDB 2.x... Glad I could help though... Gav On 4 May 2017 13:35, "Sans" wrote: Thanks Gav! I see that now. PuppetDB v3 is only compatible with Puppet v4, which I cannot upgrade to it

Re: [Puppet Users] Puppet first run issue: Error 400 on SERVER: Failed when searching for node

2016-11-13 Thread fatmcgav
Afraid I can't help on that one, as haven't used AWS. There might be some additional features in a more recent version of Foreman that will assist... Cheers Gav On 13 Nov 2016 2:37 p.m., "A.K." wrote: > Hi Gavin, > > It's an AWS environment, so the same IP address

Re: [Puppet Users] Managing config files...

2014-07-15 Thread fatmcgav
Felik Cheers for taking the time to reply... I've been trying to work up a Augeas lense to support jre.properties, but dont seem to be having much luck... Seems like there's a bit of a black art to writing them... I'm in two minds about wrapper.conf. I've got it templates currently, but like

[Puppet Users] Breaking changes in Puppetlabs_spec_helper v0.5.0

2014-06-09 Thread fatmcgav
, and prompting users to ensure they are pinning versions as appropriate. Thanks for the assistance of igalic and _rc on #puppet-dev. Cheers Gavin [1] https://github.com/puppetlabs/puppetlabs_spec_helper/commit/1c23917f60f64e4fbf7b9effdb212f907656826f [2] https://github.com/fatmcgav/fatmcgav-glassfish

Re: [Puppet Users] File.exists? validation failure when trying to create file in same catalogue

2014-02-05 Thread fatmcgav
Line 41 is the end of the domain resource in the create_domain defined type. [1] Cheers Gav [1] https://github.com/fatmcgav/puppet-glassfish/blob/master/manifests/create_domain.pp#L41 On 6 Feb 2014 04:50, Denmat tu2bg...@gmail.com wrote: Hi, What's the code on that line? On 6 Feb 2014

Re: [Puppet Users] Rspec-puppet and testing for expected failures...

2014-01-16 Thread fatmcgav
the notes on Redmine, I should be able to work around said bug by using a case statement rather then the tenary operator... Onwards and upwards. Cheers Gav [1] https://github.com/fatmcgav/puppet-glassfish/pull/8 [2] http://projects.puppetlabs.com/issues/4598 [3] https://tickets.puppetlabs.com

[Puppet Users] New release of fatmcgav-netapp module.

2013-09-30 Thread fatmcgav
made it into this release. As always, feel free to drop me a line or respond to this message with any questions/issues. Cheers again. Gavin [1] http://forge.puppetlabs.com/fatmcgav/netapp/0.4.0 [2] https://github.com/fatmcgav/fatmcgav-netapp/blob/v0.4-fixes/CHANGELOG -- You received

Re: [Puppet Users] Re: New Module - NetApp Storage support

2013-05-01 Thread fatmcgav
... The module is fatmcgav/netapphttps://forge.puppetlabs.com/fatmcgav/netapp/0.1.0, and its purpose is to allow Puppet to manage NetApp storage devices using Puppet's Network Device functionality... As some of you may be aware, I've been working on this module on and off for a couple of months now

Re: [Puppet Users] Re: How to optimize puppet class/module code ?

2013-04-09 Thread fatmcgav
http://soimasysadmin.com/2012/02/29/puppet-inheritance-revisited/ is one I've got bookmarked... HTH Gav On 9 April 2013 10:54, ForumUser p@cmcmarkets.com wrote: Hi Gavin, Can you suggest any URL where I could read about ::params classes (and examples of course ;-) ) ? On Tuesday, 9

Re: [Puppet Users] Puppet with Passenger - 403 Forbidden errors???

2013-02-14 Thread fatmcgav
There was/is nothing in the error_log... Cheers Gav On 14 February 2013 12:20, Felix Frank felix.fr...@alumni.tu-berlin.dewrote: Hi, what does apache commit to the error log when an agent tries to connect? Thanks, Felix On 02/12/2013 10:22 PM, Gavin Williams wrote: Hi all I'm

Re: [Puppet Users] Re: Defined type and cyclic dependencies :(

2013-02-08 Thread fatmcgav
john.bollin...@stjude.org wrote: On Friday, February 8, 2013 12:35:38 PM UTC-6, Gavin Williams wrote: John Cheers for the response. I've added another file to the gist - https://gist.github.com/** fatmcgav/4722199#file-oracle-**pphttps://gist.github.com/fatmcgav/4722199#file-oracle-pp

Re: [Puppet Users] Re: New Type/Provider... How to handle cli input???

2013-02-07 Thread fatmcgav
John Cheers for the response... Unfortunately SnapDrive is not my program - It's a NetApp program, so I'm not going to be able to change it :( Also doesn't look like it's designed to support command line args... :( :( But in principle, it looks like it's possible, but a bit hacky... Cheers

Re: [Puppet Users] Re: New Type/Provider... How to handle cli input???

2013-02-07 Thread fatmcgav
On Thu, Feb 7, 2013 at 7:18 AM, fatmcgav fatmc...@gmail.com wrote: John Cheers for the response... Unfortunately SnapDrive is not my program - It's a NetApp program, so I'm not going to be able to change it :( Also doesn't look like it's designed to support command line args

Re: [Puppet Users] Resource ordering problem...

2013-01-31 Thread fatmcgav
Matt Yeh, the function is defined within this module... I'll give moving the loadyaml into parse_databases a go when back in the office in the morning... Any other ideas welcome though... Cheers Gavin On Jan 31, 2013 8:43 PM, Matthew Burgess matthew.2.burg...@gmail.com wrote: On Thu, Jan 31,

Re: [Puppet Users] Re: ParsedFile Multi-line...

2013-01-25 Thread fatmcgav
Peter That would be great, cheers... Enjoy ure holiday first though... ;) Cheers Gavin On 25 January 2013 04:31, Peter Brown rendhal...@gmail.com wrote: On 10 January 2013 02:41, Gavin Williams fatmc...@gmail.com wrote: Anyone got any ideas??? My next thought is to use something like

Re: [Puppet Users] Remote Network Device management...

2012-12-21 Thread fatmcgav
Peter Cheers for the response. Network device management is being achieved using Puppet's new 'Network Device' support as part of 3.0... Site to site connectivity isn't an issue, as we've got a 100Mbps MPLS link between all 3... However it was more about security and the practicality of

Re: [Puppet Users] Re: Puppet NetApp Network device management...

2012-12-20 Thread fatmcgav
Jakov Thank you for the positive feedback. The NetApp puppet stuff is on the back burner atm, hopefully should be able to get back to buy in the new year :-) Cheers Gav On Dec 19, 2012 2:34 AM, Jakov Sosic jso...@srce.hr wrote: On 11/12/2012 12:59 PM, Gavin Williams wrote: Monday update

Re: [Puppet Users] Puppet Nagios/NRPE with Plugins...

2012-12-03 Thread fatmcgav
Pete Sounds good to me... N be easier than me re-inventing the wheel... Would be happy to guinea pig... :) Cheers Gav On 3 December 2012 23:56, Peter Brown rendhal...@gmail.com wrote: Hi Gavin, I have a module i wrote that seems like it will do what you need. I also have a nagios module

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-26 Thread fatmcgav
John Cheers again, that could be a good alternative way of doing it... Use insync? just to trigger options=, and then work out what actually needs setting there... Cheers Gav On Nov 26, 2012 5:42 PM, jcbollinger john.bollin...@stjude.org wrote: On Friday, November 16, 2012 5:44:09 AM UTC-6,

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-26 Thread fatmcgav
John, Again, very helpful... My knowledge of puppet is growing every day thanks to posts like this :-) Cheers Gavin On Nov 26, 2012 7:30 PM, jcbollinger john.bollin...@stjude.org wrote: On Monday, November 26, 2012 12:19:09 PM UTC-6, Gavin Williams wrote: John Cheers again, that could be

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-14 Thread fatmcgav
Nan Cheers again for the info... Now I think more about it, you may well be right in that it should be part of the netapp_volume provider... However I'm not sure that having individual params/properties for each volume option is the right way - The list of possible volume options currently

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-13 Thread fatmcgav
=on'], } Have just pushed my latest code to Github here: https://github.com/fatmcgav/fatmcgav-netapp/tree/master/lib/puppet/provider/netapp_volume_options I did manage to get it working after a bit of googling... However am happy to take suggestions if there is a better method :) Cheers Gavin

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-13 Thread fatmcgav
Nan Cheers for the response. Yes this is just a parameter... What's the easiest way to work with them in the provider? Cheers Gavin On Nov 13, 2012 7:00 PM, Nan Liu n...@puppetlabs.com wrote: On Tue, Nov 13, 2012 at 7:33 AM, fatmcgav fatmc...@gmail.com wrote: One of the functions required

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-13 Thread fatmcgav
Nan Cheers again... Looks like overriding the 'insync?' method is the way to go, as I'm only interested in checking/setting property values that are being passed through... Any insync? examples that I could refer to? Cheers Gavin On 13 November 2012 19:50, Nan Liu n...@puppetlabs.com wrote:

Re: [Puppet Users] Re: err: Could not request certificate when I run puppet device

2012-11-05 Thread fatmcgav
Try changing the file owner/group to match what you're running puppet as... Gav On 5 November 2012 20:51, meiji wang wangme...@gmail.com wrote: Although I change the mode to 0777, Puppet forces the mode to 0750 debug: /File[/var/opt/lib/pe-puppet/devices/certname/state]: Autorequiring

[Puppet Users] Puppet Network Devices...

2012-11-01 Thread fatmcgav
Afternoon all, in the hunt to find a mechanism to manage our new NetApp filer configuration using puppet, I've stumbled across the 'Puppet Network Devices' functionality introduced in 2. 7. The idea looks perfect in principle, however it looks like no-ones implemented support for NetApp filers as

Re: [Puppet Users] Puppet Oracle Database config management

2012-10-25 Thread fatmcgav
Tim Cool, Cheers for that. Some good food for thought there... Cheers again. Gav On Oct 25, 2012 6:20 PM, Tim Mooney tim.moo...@ndsu.edu wrote: In regard to: Re: [Puppet Users] Puppet Oracle Database config...: Have you got any examples of the hiera config you're using? As I said, it's

[Puppet Users] Puppet Oracle Database config management

2012-10-24 Thread fatmcgav
Afternoon all. I've been reading around on Puppet and Oracle, and have come up with a few links that suggest how to get Oracle installed and base configured, which has got me started in the right direction on that. My next challenge is maintaining Oracle database specific configuration on the

Re: [Puppet Users] Re: Glassfish custom provider and 'file does not exist'

2012-10-24 Thread fatmcgav
, available here: https://github.com/fatmcgav/puppet-glassfish/commit/429f9e8e1d08e99c69d8ffdcb3043648af5fa18a Any comments welcome. Regards Gavin Your exists? method in puppet/provider/domain/el.rb overwrites the exists? method in puppet/provider/asadmin.rb. I don't know if you get

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-10-21 Thread fatmcgav
how I can make commands use a variable? Cheers Gavin On Monday, 15 October 2012 11:40:16 UTC+1, Gavin Williams wrote: Just got back from holiday, and need to get this one going... Any ideas on how I can proceed? Cheers Gavin On 29 September 2012 08:21, fatmcgav fatmc

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-10-15 Thread fatmcgav
Just got back from holiday, and need to get this one going... Any ideas on how I can proceed? Cheers Gavin On 29 September 2012 08:21, fatmcgav fatmc...@gmail.com wrote: Stefan Yes, the code is all in github. https://github.com/fatmcgav/puppet-glassfish Cheers Gav On Sep 29, 2012 1:28

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-29 Thread fatmcgav
Stefan Yes, the code is all in github. https://github.com/fatmcgav/puppet-glassfish Cheers Gav On Sep 29, 2012 1:28 AM, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Fri, Sep 28, 2012 at 10:39:11AM +0100, fatmcgav wrote: Ok, so I thought I'd take another look, and try and get some

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-28 Thread fatmcgav
, fatmcgav wrote: Hi there I thought that initially as well, so I modified the provider to use a full path rather than assume it was on the path. The log files below are prints of the variables which are being passed around... Cheers Gav On Sep 27, 2012 12:53 PM, Dick Davies rasput

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-28 Thread fatmcgav
} +Puppet.debug(Command = #{command}) command = su - #{@resource[:user]} -c \#{command}\ if @resource[:user] and not command.match /create-service/ self.debug command Any ideas how I can get the provider logging??? Cheers Gavin On 28 September 2012 08:58, fatmcgav fatmc...@gmail.com wrote

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-09-27 Thread fatmcgav
Hi there I thought that initially as well, so I modified the provider to use a full path rather than assume it was on the path. The log files below are prints of the variables which are being passed around... Cheers Gav On Sep 27, 2012 12:53 PM, Dick Davies rasput...@hellooperator.net wrote: