First off, I apologize for the bad coding - I'm not really familiar with
ruby at all, so a lot of stuff/logic was cobbled together from other puppet
providers/etc, and sometimes there wasn't much documentation.  I can tell
Puppet has evolved very quickly.  :-)

 I had a short look at you code and I dont know if this is intentional
> but I think you dont use "instances" in the way it was meant to be. It
> shouldn't return an array of hashes but an array of providers.
>

Yes - I realized the true functionality of instances/prefetch afterwards
while working out a different issue.  I was originally under the impression
that instances was to actually preload the current state data en mass if
possible at the beginning so that each resource doesn't need to be queried
in turn on startup.

This way, purging your resource with the resource type should work
> and I guess even »puppet resource rcconf« should work.
>

Whooops, I pushed old code up to that repo.  Fixed that bug along with a few
others a while ago.  It's a fully working type/provider at the current time.

I just threw it all into a branch off my main puppet repo since it's a more
logical spot for it to be:
https://github.com/westr/puppet/tree/feature%2Fmaster%2Fsvc-sysrc


Thanks,
  Ross.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to