[Puppet-dev] Re: Announce: Puppet Platform 5.3.4 is now available

2018-02-06 Thread Gavin Williams
Just for community awareness, there appears to be a breaking interaction between this latest Puppet release and rspec-puppet. Tests are failing with 'no implicit conversion of nil into String'. Already raised on PL tracker as PUP-8418 [1], and I've just raised against rspec-puppet [2]. So fo

Re: [Puppet-dev] Using puppet for the configuration of a custom appliance

2015-04-08 Thread Gavin Williams
Take a look at the NetApp module aswell: https://github.com/fatmcgav/fatmcgav-netapp Cheers Gav On Wednesday, 8 April 2015 00:44:59 UTC+1, Nan Liu wrote: > > On Tuesday, April 7, 2015 at 3:03:29 PM UTC-7, David Schmitt wrote: >> >> On 2015-04-06 20:54, varun umesh wrote: >> > I am planning to u

Re: [Puppet-dev] rspec-puppet issues under Ruby 2

2014-12-02 Thread Gavin Williams
Is it possible to work in a change to rspec-puppet for PUP-3336? Maybe as simple as modifying the LOAD_PATH as shown in my example above? Cheers Gav -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and sto

Re: [Puppet-dev] rspec-puppet issues under Ruby 2

2014-12-01 Thread Gavin Williams
The code I've added to work-around the Puppet issue is here[1]. HTH. Gav [1]https://gist.github.com/fatmcgav/aa7295798502d660c6a3 On Saturday, 29 November 2014 23:50:23 UTC, Trevor Vaughan wrote: > > It would indeed and I appreciate the info. > > Trevor > On Nov 29,

Re: [Puppet-dev] rspec-puppet issues under Ruby 2

2014-11-29 Thread Gavin Williams
Yeh, I hit the same issue with the LOAD_PATH which lead to that PR and raising PUP-3663. I've worked around it by modifying the LOAD_PATH in spec_helper.rb. Can post it when in work on Monday if that helps. Cheers Gav -- You received this message because you are subscribed to the Google Gr

Re: [Puppet-dev] Issues with 'confine' on Netwrok Device provider

2014-06-05 Thread Gavin Williams
; resource default for the 'provider' metaparameter? If there is code to > share between the providers you can use the 'parent' mechanism in the > provider api, like the way 'up2date' and 'yum' both use 'rpm' as their > parent. > > -

Re: [Puppet-dev] Issues with 'confine' on Netwrok Device provider

2014-06-03 Thread Gavin Williams
-02 at 14:42 -0700, Gavin Williams wrote: > > Hey all, > > > > I'm trying to use 'confine' on a network device provider to restrict > > based on fact gathered from the network device. > > > > However for the life of me, I just cant get it to

[Puppet-dev] Issues with 'confine' on Netwrok Device provider

2014-06-02 Thread Gavin Williams
Hey all, I'm trying to use 'confine' on a network device provider to restrict based on fact gathered from the network device. However for the life of me, I just cant get it to work... The code looks like [1]. As you can see, I'm trying to confine on the 'clustered' fact, which you can see

[Puppet-dev] Re: [Puppet Users] Autorequire based on resource property???

2014-02-07 Thread Gavin Williams
ot even sure if :name is the correct key, but I hope this brings the > idea across. > > HTH, > Felix > > On 02/07/2014 12:51 PM, Gavin Williams wrote: > > In other-words, if I want the /application/ resource type to > > auto-require the appropriate /domain/ reso

Re: [Puppet-dev] Re: Puppet and Yum versionlock...

2013-11-29 Thread Gavin Williams
it for your own locking endeavours. > > Regards, > > k > > [1] > https://github.com/cegeka/puppet-stdlib/blob/master/lib/puppet/type/packagelock.rb > [2] > https://github.com/cegeka/puppet-stdlib/blob/master/lib/puppet/provider/packagelock/yum.rb > > > On Fri,

[Puppet-dev] Re: Puppet and Yum versionlock...

2013-11-29 Thread Gavin Williams
fatmcgav/puppet/compare/puppetlabs:master...master [3]http://projects.puppetlabs.com/issues/23316 On Friday, 29 November 2013 11:10:02 UTC, Gavin Williams wrote: > > No-one with any comments?!?! > > I've managed to spend a bit more time looking at the error handling issue > out

[Puppet-dev] Re: Puppet and Yum versionlock...

2013-11-29 Thread Gavin Williams
Cheers Gav [1] https://github.com/fatmcgav/puppet/commit/117dc5a87c2771a0682b868582ad240739da8e35 [2] http://garylarizza.com/blog/2013/11/26/fun-with-providers-part-2/ On Monday, 25 November 2013 14:29:36 UTC, Gavin Williams wrote: > > Afternoon all > > I've got a requirement whereb

[Puppet-dev] Puppet and Yum versionlock...

2013-11-25 Thread Gavin Williams
Afternoon all I've got a requirement whereby I need to be able to hold or pin specific versions of Yum packages, which ideally I want to be able to achieve using Puppet... Looking at the latest package type documentation [1], I can see that some package providers support an *ensure* value of

[Puppet-dev] Re: New release of fatmcgav-netapp module.

2013-10-09 Thread Gavin Williams
#x27;re currently using my NetApp network device module, or are looking to use it, please note the version compatibility issues stated above. Cheers Gav [1] http://projects.puppetlabs.com/issues/22804 [2] https://github.com/puppetlabs/puppet/pull/1978 On Monday, 30 September 2013 21:12:47 U

Re: [Puppet-dev] NetApp Network Device issue with Puppet > 3.2.0 - Could not intern...

2013-10-09 Thread Gavin Williams
fix is small and isolated, I decided that in order > to continue working with some existing code making a fix here was > reasonable. > >> On 8 Oct 2013 20:13, "Andy Parker" > >> wrote: >> >>> On Tue, Oct 8, 2013 at 9:29 AM, Gavin Williams >>>

[Puppet-dev] NetApp Network Device issue with Puppet > 3.2.0 - Could not intern...

2013-10-08 Thread Gavin Williams
Afternoon all, I'm wondering if someone from PL may be able to assist with Issue #22804. I've built a sand-box env this morning using Puppet 3.3.1, however have noticed that my NetApp Network Device modu

Re: [Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-10-01 Thread Gavin Williams
2013 09:10:05 UTC+1, Gavin Williams wrote: > > Andy > > Cheers for that.. Will keep an eye out for updates on the ticket :) > > Gav > > On Tuesday, 30 July 2013 20:53:38 UTC+1, Andy Parker wrote: >> >> On Mon, Jul 29, 2013 at 11:54 PM, Gavin Williams wrote: >&g

Re: [Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-31 Thread Gavin Williams
Andy Cheers for that.. Will keep an eye out for updates on the ticket :) Gav On Tuesday, 30 July 2013 20:53:38 UTC+1, Andy Parker wrote: > > On Mon, Jul 29, 2013 at 11:54 PM, Gavin Williams > > > wrote: > >> Andy >> >> Cheers for that... Had completel

Re: [Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-29 Thread Gavin Williams
don't see a > reference in the other thread to an issue being raised either. > > >> Cheers >> Gavin >> >> On Monday, 29 July 2013 17:49:49 UTC+1, Andy Parker wrote: >> >>> Hi Gavin, >>> >>> >>> On Mon, Jul 29, 2013 at

Re: [Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-29 Thread Gavin Williams
On Mon, Jul 29, 2013 at 9:18 AM, Gavin Williams > > > wrote: > >> Is anyone from PL able to shed any light on the below issues??? >> >> > I can't speak to specifics of F5, but Nan Liu told me via email that the > problem comes down to Puppet trying to mak

[Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-29 Thread Gavin Williams
Is anyone from PL able to shed any light on the below issues??? Cheers Gavin On Wednesday, 24 July 2013 12:00:54 UTC+1, Gavin Williams wrote: > > Balto > > Apologies, my previous response may have been misleading... On further > investigation, I can confirm that basic device c

[Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-24 Thread Gavin Williams
.2.x. We debugged down into the ruby libs but > with no success. Next we contacted puppet labs support and they set it up > in their lab and concluded that puppetlabs-f5 is not supported beyond > puppet 2.7.x. There is an open ticket to upgrade to Puppet 3.x but no ETA > as of yet. &

[Puppet-dev] Re: Updated Puppetlabs-F5 module to support v11 devices

2013-07-23 Thread Gavin Williams
et working with our V11 devices, also. >> >> Thanks, >> Josh Becigneul >> >> On Tuesday, April 23, 2013 7:36:10 AM UTC-4, Gavin Williams wrote: >>> >>> Afternoon all, >>> >>> I thought I'd drop an email here just to get peoples

Re: [Puppet-dev] Deploy software on newly provisioned machine

2013-04-24 Thread Gavin Williams
Take a look at Foreman aswell... Www.theforeman.org Gav -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To post t

[Puppet-dev] Updated Puppetlabs-F5 module to support v11 devices

2013-04-23 Thread Gavin Williams
Afternoon all, I thought I'd drop an email here just to get peoples views/opinions etc... Anyhow, I'm about to need to Puppetize our F5 v11 devices, specifically the iApp functionality. Now currently, the Puppetlabs-F5 module primarily supports v10 devices... Now I'm happy to work on adding

Re: [Puppet-dev] Issues with self.instances and additional Puppet::Type in array...

2013-04-05 Thread Gavin Williams
Nan Ah, ok.. Haven't used puppet resource as yet, however think it makes sense to try and support it where possible... Will see what I can work up with your code :) Cheers Gavin On Friday, 5 April 2013 16:43:08 UTC+1, Nan Liu wrote: > > On Fri, Apr 5, 2013 at 3:33 AM, fatmcgav >wrote: > >>

Re: [Puppet-dev] Issues with self.instances and additional Puppet::Type in array...

2013-04-04 Thread Gavin Williams
me resource time from 40+ seconds to <0.1 seconds. So > MASSIVE improvements to be made from switching to the prefetch/flush > style... > > Cheers > Gav > > > On 2 April 2013 13:24, Luke Kanies >wrote: > >> Looks good from a cursory glance. Hopefully it

Re: [Puppet-dev] Re: Issues with self.instances and additional Puppet::Type in array...

2013-04-02 Thread Gavin Williams
f the information, and then a couple that need to be called on a volume by volume basis. All gets put together in instances, and provider'd up in prefetch. Comments welcome. Cheers Gavin On Friday, 29 March 2013 13:15:12 UTC, Gavin Williams wrote: > > Luke > > Cheers for that inf

[Puppet-dev] Re: Issues with self.instances and additional Puppet::Type in array...

2013-03-28 Thread Gavin Williams
es being used on the inside to hold the NetApp filer response... Latest code in Github<https://github.com/fatmcgav/fatmcgav-netapp/commit/1d51b1267466176db1a3d4e6ae32d9340a06fb56> . Cheers Gavin On Thursday, 28 March 2013 11:44:39 UTC, Gavin Williams wrote: > > Morning all > > Q

[Puppet-dev] Re: Issues with self.instances and additional Puppet::Type in array...

2013-03-28 Thread Gavin Williams
Morning all Quick update... Looks like I managed to hack around the issue by adding the following: ... ap qtree_info # Check if it is a NaElement next unless qtree_info.respond_to?(:child_get_string) # Pull out the qtree name. name = qtree_info.child_

[Puppet-dev] Issues with self.instances and additional Puppet::Type in array...

2013-03-27 Thread Gavin Williams
Afternoon all I've started working on converting a couple more of my NetApp network device providers to use a prefetch/flush model, as can see performance gains available, etc... Anyways, I'm having issues with my netapp_qtree provider. It would appear that somehow, an additional *Puppet::Typ

[Puppet-dev] Re: Prefetch/Flush Provider help...

2013-03-15 Thread Gavin Williams
s Gav On Friday, 15 March 2013 16:58:02 UTC, Gavin Williams wrote: > > Afternoon all > > I'm currently trying to fix an issue I've spotted with one of my Netapp > providers... > Netapp_Export<https://github.com/fatmcgav/fatmcgav-netapp/blob/9195e063e34b01b8c51

[Puppet-dev] Prefetch/Flush Provider help...

2013-03-15 Thread Gavin Williams
Afternoon all I'm currently trying to fix an issue I've spotted with one of my Netapp providers... Netapp_Export Have recently converted it to a prefetch

Re: [Puppet-dev] Re: Netapp Provider - Prefetch, or another option???

2013-03-06 Thread Gavin Williams
called if the resource is being created for the first time? Comments/ideas on how to improve welcome. Regards Gavin On Tuesday, 12 February 2013 16:31:16 UTC, Gavin Williams wrote: > > Ken > > Cheers for the response. > > Will have a read and see if I can work it out :) >

[Puppet-dev] Custom Types not being loaded correctly?

2013-03-05 Thread Gavin Williams
Morning all Not sure if this is a bug, or just a configuration issue in the way I'm using it... Anyhow, I'm doing some work on one of my NetApp type/provider to add additional properties etc... As part of this, I've created a new copy of my module in a 'test' environment folder as follows:

Re: [Puppet-dev] Puppet & Automatic Resource state changes...

2013-02-19 Thread Gavin Williams
end I've tried restarting the puppetmaster service several times, however keep coming back with that error :( Any ideas?? Cheers Gavin On Tuesday, 19 February 2013 08:40:42 UTC, Gavin Williams wrote: > > Nan > > That looks like a great way of working around this requirement...

[Puppet-dev] Puppet & Automatic Resource state changes...

2013-02-18 Thread Gavin Williams
Morning All I posted this on Puppet-users a few days ago, but I thought i'd post it on here aswell to get a Dev's view-point... Firstly, apologies for the length of this post, however I thought it probably most useful to fully outline the challenge and the desired result... Ok, so we're in

Re: [Puppet-dev] Ruby DSL deprecated completely?

2013-02-16 Thread Gavin Williams
Yeh, as nan suggests i've done something similar with an rvalue function that takes a loaded yaml file, and then parses it dependant on 2 input parameters... Then use that response to drive create_resources :-) Might be an easy way to do away with the dsl stuff ure doing... Hth Gav -- You

[Puppet-dev] Re: Netapp Provider - Prefetch, or another option???

2013-02-12 Thread Gavin Williams
Any opinions out there??? Cheers Gavin On Sunday, 3 February 2013 13:25:21 UTC, Gavin Williams wrote: > > Afternoon all > > I'm working on the next feature needed for our Netapp Network device > module, this time adding support for NFS export security options. > >

[Puppet-dev] Netapp Provider - Prefetch, or another option???

2013-02-03 Thread Gavin Williams
Afternoon all I'm working on the next feature needed for our Netapp Network device module, this time adding support for NFS export security options. The current code is here: Providerand

Re: [Puppet-dev] Re: To publish Netapp network device module?

2013-01-29 Thread Gavin Williams
for all assistance in getting this far. Regards Gavin On Monday, 28 January 2013 10:50:51 UTC, Gavin Williams wrote: > > Ok, I think I've finally got to a point where I'm happy to unleash the > module on the world... > > Still got a few areas to improve on, however

Re: [Puppet-dev] New Parsedfile provider & properties???

2013-01-28 Thread Gavin Williams
e cron provider, and any other parsedfile provider for that matter, are working :S Any ideas??? Cheers Gavin On Monday, 28 January 2013 17:04:53 UTC, Gavin Williams wrote: > > Afternoon all > > Had a code detox over the weekend, and came back to it this morning > refreshed, and

Re: [Puppet-dev] New Parsedfile provider & properties???

2013-01-28 Thread Gavin Williams
t 2 issues greatly appreciated though... Cheers Gavin On Saturday, 26 January 2013 10:44:32 UTC, Gavin Williams wrote: > > Jeff > > Cheers for the pointers... > > I was coding late last night, and again this morning, and think I've made > some good progress... > > L

Re: [Puppet-dev] Re: To publish Netapp network device module?

2013-01-28 Thread Gavin Williams
ack with anything obvious... Any ideas how I can get the rake task to work? Cheers Gavin On Tuesday, 22 January 2013 19:46:53 UTC, Gavin Williams wrote: > > Andy > > Cheers for the response. > > So far, I must admin it's been a pretty steep learning curve; but that's

Re: [Puppet-dev] New Parsedfile provider & properties???

2013-01-26 Thread Gavin Williams
avin On Friday, 25 January 2013 19:30:42 UTC, Jeff McCune wrote: > > On Fri, Jan 25, 2013 at 9:41 AM, Gavin Williams > > > wrote: > >> I've just pushed an updated code set to >> https://github.com/fatmcgav/puppet-oracle/commits/oranfstab_dev >> >

Re: [Puppet-dev] New Parsedfile provider & properties???

2013-01-25 Thread Gavin Williams
b.com/fatmcgav/puppet-oracle/commits/oranfstab_dev Thoughts before I plow on too much further? Cheers Gavin On Friday, 25 January 2013 17:15:19 UTC, Luke Kanies wrote: > > On Jan 24, 2013, at 8:10 AM, Gavin Williams > > wrote: > > Afternoon all > > Firstly, apologies for

[Puppet-dev] New Parsedfile provider & properties???

2013-01-24 Thread Gavin Williams
Afternoon all Firstly, apologies for posting this directly to the Puppet-dev group, however I thought I'd probably get a better response here versus the Puppet-users group... I'm trying to get my head around Parsedfile providers in Puppet. The intention is create a new type/provider for proce

[Puppet-dev] Re: To publish Netapp network device module?

2013-01-21 Thread Gavin Williams
es. Cheers Gavin On Friday, 18 January 2013 18:02:39 UTC, Gavin Williams wrote: > > Evening all > > As some of you are probably aware, I've been working on a NetApp network > device module to Puppet. > The module has reached that point whereby it ticks most of the boxes th

[Puppet-dev] To publish Netapp network device module?

2013-01-18 Thread Gavin Williams
Evening all As some of you are probably aware, I've been working on a NetApp network device module to Puppet. The module has reached that point whereby it ticks most of the boxes that we needed it for internally, and so it's probably time to start looking at doing a release to the community, s

Re: [Puppet-dev] Network Device type & 'failed due to execution expired'

2013-01-03 Thread Gavin Williams
Good news... It looks like the timeout issue was a device symptom rather than a code issue :) Rebooted the test filer, and it's now working as expected... Happy days :) Cheers Gav On Wednesday, 2 January 2013 18:46:11 UTC, Gavin Williams wrote: > > Jeff > > Cheers

[Puppet-dev] Network Device type & 'failed due to execution expired'

2013-01-02 Thread Gavin Williams
Afternoon all I'm starting to put a bit more work into my NetApp Puppet device support. I've currently hit an issue whereby I can get the core 'create' def to run fine, but when I try and loop in some of the other property methods, the puppet run is failing with: Puppet::Provider::Netapp_volu

Re: [Puppet-dev] Puppet network device and define...

2012-12-21 Thread Gavin Williams
t20122012'] } } And the node has got: create_resources( act::util::netapp::database, hiera('volumes') ) Hiera data looks like: --- filer_name: 'actint-star-nactl01' volumes: puppet_db01_data: ensure: present size: "100g" puppet_db01_ctrl: ensure: p

Re: [Puppet-dev] Puppet network device and define...

2012-12-21 Thread Gavin Williams
:28 AM, Gavin Williams > > > wrote: > >> Afternoon all >> >> I'm trying to use a defined resource with a puppet network device, so >> that I can group a whole load of network device resources into one define. >> >> However when running puppet again

[Puppet-dev] Puppet network device and define...

2012-12-20 Thread Gavin Williams
Afternoon all I'm trying to use a defined resource with a puppet network device, so that I can group a whole load of network device resources into one define. However when running puppet against the device, I see the following: ESC[0;36mDebugESC[0m: catalog supports formats: b64_zlib_yaml dot

Re: [Puppet-dev] Puppet Network Devices...

2012-11-14 Thread Gavin Williams
No worries, cheers for the response. Will remember that trick for future... ;) Cheers Gav On Wednesday, 14 November 2012 04:38:23 UTC, James Turnbull wrote: > > Dawn Foster wrote: > > On Tue, Nov 13, 2012 at 1:10 AM, Gavin Williams > > > > wrote: > >&g

Re: [Puppet-dev] Puppet Network Devices...

2012-11-13 Thread Gavin Williams
o put it within the readme. Regards Gavin On Monday, 12 November 2012 18:05:27 UTC, Nan Liu wrote: > > On Wed, Nov 7, 2012 at 8:43 AM, Gavin Williams > > wrote: > >> Afternoon all >> >> I've been posting about this subject in Puppet >> Users&

[Puppet-dev] Puppet Network Devices...

2012-11-12 Thread Gavin Williams
Afternoon all I've been posting about this subject in Puppet Users, but thought it might be worth me posting here as it doesn't look like many users are actually using the Network Device functionality yet... Basic