Metadata-Version: 2.1
Name: haproxy_cmd
Version: 0.0.7
Summary: Send commands to haproxy sockets for maintenance of an infrastructure
Home-page: https://salsa.debian.org/openstack-team/third-party/example-os-cli-tools
Author: Thomas Goirand
Author-email: zigo@debian.org
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
License-File: LICENSE

This package contains a helper to send commands through the haproxy socket,
so it is possible to maintain servers part of a cluster by draining,
enabling and stopping servers part of a backend.

hapc
needs an admin socket to be able to use it. So it is needed to add this
to /etc/haproxy/haproxy.cfg:

global
        stats socket /var/lib/haproxy/admin.sock mode 600 level admin

Then hapc will connect to it.

