With a haproxy recipe in the pacemaker cookbook, you'd still need to express the dependency on the haproxy cookbook in the metadata :-)