Luke Kanies wrote:
> On Aug 19, 2008, at 11:53 PM, AJ Christensen wrote:
> 
>> I hadn't tested .sort.each on a setup with more than one node, and  
>> Puppet::Node::Facts obviously doesn't have an <=> method.
>>
>> This implements a simple string sort based on the node name
>>

I like this method better.

James

-- 
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to