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

2013-03-01 Thread fatmcgav
Quickly tried to mock some code up this eve, and kept getting the following error... Debug: /Filebucket[puppet]: Skipping host resources because running on a device Debug: Node[actint-star-nactl02]: Skipping host resources because running on a device Error: /Stage[main]//Node[actint-star-nactl02]/

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

2013-03-01 Thread fatmcgav
No worries, I guessed as much given all the recent puppet vmware news :-) Will take a look, and have a play. Cheers Gav On Mar 1, 2013 9:41 PM, "Nan Liu" wrote: > On Wed, Feb 27, 2013 at 12:50 PM, fatmcgav wrote: > >> Did you have any joy with updating the code? >> > > Sorry for the delay, I'v

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

2013-03-01 Thread Nan Liu
On Wed, Feb 27, 2013 at 12:50 PM, fatmcgav wrote: > Did you have any joy with updating the code? > Sorry for the delay, I've been swamped lately. I think this gist should give you an idea: https://gist.github.com/nanliu/6be964220b5523afee77 Thanks, Nan -- You received this message because yo

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

2013-02-27 Thread fatmcgav
Nan Did you have any joy with updating the code? Cheers Gavin On 20 February 2013 16:43, fatmcgav wrote: > Nan, > > Cheers for the feedback... > > Will keep an eye out for your email :) > > Cheers > Gavin > > > On 20 February 2013 16:41, Nan Liu wrote: > >> On Tue, Feb 19, 2013 at 6:31 AM, G

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

2013-02-20 Thread fatmcgav
Nan, Cheers for the feedback... Will keep an eye out for your email :) Cheers Gavin On 20 February 2013 16:41, Nan Liu wrote: > On Tue, Feb 19, 2013 at 6:31 AM, Gavin Williams wrote: > >> Ok, I've started trying to work up some code to outline the change >> below... >> >> However I'm hitting

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

2013-02-20 Thread Nan Liu
On Tue, Feb 19, 2013 at 6:31 AM, Gavin Williams wrote: > Ok, I've started trying to work up some code to outline the change > below... > > However I'm hitting an issue whereby the catalogue is failing due to: > *"Error: Failed to apply catalog: Parameter ensure failed on > Netapp_snapmirror[actin

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

2013-02-19 Thread Gavin Williams
Ok, I've started trying to work up some code to outline the change below... However I'm hitting an issue whereby the catalogue is failing due to: *"Error: Failed to apply catalog: Parameter ensure failed on Netapp_snapmirror[actint-star-nactl02:/vol/v_puppet_db01_redo/q_puppet_db01_redo]: Inva

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

2013-02-19 Thread fatmcgav
Andy I would certainly +1 that request... Could use this case as an example aswell if you wanted... Cheers Gav On 19 February 2013 08:20, Andrew Parker wrote: > On Feb 19, 2013, at 2:47 AM, Nan Liu wrote: > > I'll admit, though, that puppet doesn't really have a concept of an "in >>> progres

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

2013-02-19 Thread fatmcgav
Nan That looks like a great way of working around this requirement... One quick q - how does '*provider.initialized?*' get set? Other than that, looks great... Will start working up some code now :) Cheers Gav On 19 February 2013 01:47, Nan Liu wrote: > On Mon, Feb 18, 2013 at 3:21 AM, fatm

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

2013-02-19 Thread Andrew Parker
On Feb 19, 2013, at 2:47 AM, Nan Liu wrote: >>> I'll admit, though, that puppet doesn't really have a concept of an "in >>> progress" convergence of a resource, so I'm not sure how the report will >>> work out for these kinds of resources. I suspect that it would show a >>> change every time t

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

2013-02-18 Thread Nan Liu
On Mon, Feb 18, 2013 at 3:21 AM, fatmcgav wrote: > > On 18 February 2013 10:50, Andy Parker wrote: > >> I just took a look and see that you got no responses on puppet-users. >> That is unfortunate :( >> >> On Mon, Feb 18, 2013 at 12:13 AM, Gavin Williams wrote: >> >>> Morning All >>> >>> I poste

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

2013-02-18 Thread fatmcgav
Andy, Cheers for taking the time to respond... Comments in-line below... Cheers Gavin On 18 February 2013 10:50, Andy Parker wrote: > I just took a look and see that you got no responses on puppet-users. That > is unfortunate :( > > On Mon, Feb 18, 2013 at 12:13 AM, Gavin Williams wrote: > >>

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

2013-02-18 Thread Andy Parker
I just took a look and see that you got no responses on puppet-users. That is unfortunate :( On Mon, Feb 18, 2013 at 12:13 AM, Gavin Williams wrote: > 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

[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