Am 21.05.2010 17:53, schrieb Matt Wallace: > The issue I've got is that because "comment" and "ensure" are on > different lines on the two servers, I'm having real issues picking up > the differences between the servers because diff just shows hundreds of > lines that do not match across the two files.
These are hash outputs. Hashes do not guarantee a sort order of their keys. > Is there a quick way of sorting this data (importing the ralsh reports > into ruby for example??) and comparing them or have I misunderstood the > use of Ralsh for auditing? The possibly easiest ways is to read the hashes back into ruby and perform an object comparision. The output looks much like valid ruby code. Cheers Christian -- Dipl.-Inf. Christian Kauhaus <>< · [email protected] · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and Plone consulting and development -- 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.
