[Pacemaker] [PATCH devel] cts: make sure we only install applicable Audits

Andrew Beekhof andrew at beekhof.net
Mon Apr 12 07:00:10 UTC 2010


Oh, sorry, I applied it but forgot to tell you :-)

On Mon, Apr 12, 2010 at 7:23 AM, Angus Salkeld <asalkeld at redhat.com> wrote:
> Hi guys
>
> Can I get this little patch applied?
>
> Thanks
> -Angus
>
> On Tue, 2010-03-23 at 13:57 +1100, Angus Salkeld wrote:
>> As subject says...
>>
>> Else we will have pacemaker Audits for corosync.
>>
>> -Angus
>>
>> diff -r e15be5fa5635 -r 0136017505ac cts/CTSaudits.py
>> --- a/cts/CTSaudits.py        Thu Mar 18 09:29:05 2010 +0100
>> +++ b/cts/CTSaudits.py        Tue Mar 23 13:44:43 2010 +1100
>> @@ -779,5 +779,7 @@
>>  def AuditList(cm):
>>      result = []
>>      for auditclass in AllAuditClasses:
>> -        result.append(auditclass(cm))
>> +        a = auditclass(cm)
>> +        if a.is_applicable():
>> +            result.append(a)
>>      return result
>>
>>
>>
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list