[Puppet-dev] self.instances with properties

2011-06-12 Thread Dan Bode
Hi all, I am trying to understand how self.instances is supposed to work. I have implemented it as below (which I tried to construct based on examples I found in puppet's source) : def self.instances rabbitmqctl('list_users').split(/\n/)[1..-2].collect do |line| if line =~ /^(\S+)\s+

[Puppet-dev] Re: [PATCH 1/1] Add insync? checks to Onyx Point Concat module

2011-06-12 Thread Markus Falb
On 3.6.2011 17:07, Greg Sutcliffe wrote: > Hi all, > > As my first foray into types and providers (and as suggested on the > -users list), here is a patch for Onyx Point's Concat type which > implements insync? for both concat_build and concat_fragment. It's > probably ugly, and I need to learn, s