[Debian-ha-maintainers] Bug#622764: add suggestion/dependency for/on libxml2-utils

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Thu Apr 14 13:49:23 UTC 2011


Package: cluster-agents
Version: 1:1.0.3-3.1
Severity: normal

please add a suggestion for libxml2-utils because ocf-tester requires
xmllint for checking the ra's meta-data:
(adding a dependency is fine too)

-> without xmllint:
> # /usr/sbin/ocf-tester -n post1 /usr/lib/ocf/resource.d/heartbeat/postfix; echo $?
> Beginning tests for /usr/lib/ocf/resource.d/heartbeat/postfix...
> /usr/sbin/ocf-tester: 229: xmllint: not found
> * rc=127: Your agent produces meta-data which does not conform to ra-api-1.dtd
^ xmllint is missing
> * Your agent does not support the notify action (optional)
> * Your agent does not support the demote action (optional)
> * Your agent does not support the promote action (optional)
> * Your agent does not support master/slave (optional)
> Tests failed: /usr/lib/ocf/resource.d/heartbeat/postfix failed 1 tests
> 1


-> apt-get install libxml2-utils
-> with xmllint
> # /usr/sbin/ocf-tester -n post1 /usr/lib/ocf/resource.d/heartbeat/postfix; echo $?
> Beginning tests for /usr/lib/ocf/resource.d/heartbeat/postfix...
> * Your agent does not support the notify action (optional)
> * Your agent does not support the demote action (optional)
> * Your agent does not support the promote action (optional)
> * Your agent does not support master/slave (optional)
> /usr/lib/ocf/resource.d/heartbeat/postfix passed all tests
> 0

works.

thanks,
raoul





More information about the Debian-ha-maintainers mailing list