community.general/plugins
patchback[bot] ffa1436f05
[PR #10227/283d947f backport][stable-11] pacemaker_cluster: enhancements and add unit tests (#10408)
pacemaker_cluster: enhancements and add unit tests (#10227)

* feat(initial): Add unit tests and rewrite pacemaker_cluster

This commit introduces unit tests and pacemaker_cluster module rewrite
to use the pacemaker module utils.

* feat(cleanup): Various fixes and add resource state

This commit migrates the pacemaker_cluster's cleanup state to the
pacemaker_resource module. Additionally, the unit tests for
pacemaker_cluster have been corrected to proper mock run command order.

* doc(botmeta): Add author to pacemaker_cluster

* style(whitespace): Cleanup test files

* refactor(cleanup): Remove unused state value

* bug(fix): Parse apply_all as separate option

* refactor(review): Apply code review suggestions

This commit refactors breaking changes in pacemaker_cluster module into
deprecated features. The following will be scheduled for deprecation:
`state: cleanup` and `state: None`.

* Apply suggestions from code review



* refactor(review): Additional review suggestions

* refactor(deprecations): Remove all deprecation changes

* refactor(review): Enhance rename changelog entry and fix empty string logic

* refactor(cleanup): Remove from pacemaker_resource

* Apply suggestions from code review



* refactor(review): Add changelog and revert required name

* revert(default): Use default state=present

* Update changelogs/fragments/10227-pacemaker-cluster-and-resource-enhancement.yml



* Update changelog fragment.

---------


(cherry picked from commit 283d947f17)

Co-authored-by: Dexter <45038532+munchtoast@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-14 09:55:32 +02:00
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
cache [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
callback [PR #10345/096fa388 backport][stable-11] logstash: Remove reference to Python 2 library (#10370) 2025-07-09 06:31:16 +02:00
connection [PR #10349/4195cbb3 backport][stable-11] incus_connection: Improve error handling (#10362) 2025-07-07 21:06:14 +02:00
doc_fragments [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
filter [PR #10303/329c2222 backport][stable-11] fix style in plugins (#10324) 2025-07-01 22:09:45 +02:00
inventory [PR #10303/329c2222 backport][stable-11] fix style in plugins (#10324) 2025-07-01 22:09:45 +02:00
lookup [PR #10359/16d6e4a8 backport][stable-11] dependent lookup: avoid deprecated ansible-core 2.19 functionality (#10366) 2025-07-08 06:56:04 +02:00
module_utils [PR #10227/283d947f backport][stable-11] pacemaker_cluster: enhancements and add unit tests (#10408) 2025-07-14 09:55:32 +02:00
modules [PR #10227/283d947f backport][stable-11] pacemaker_cluster: enhancements and add unit tests (#10408) 2025-07-14 09:55:32 +02:00
plugin_utils Make ready for data tagging (#9833) 2025-04-14 19:04:26 +02:00
test Adjust YAML in plugin docs (#10234) 2025-06-16 17:46:01 +02:00