Closed ze42 closed 2 years ago
Thanks for this PR, @ze42.
Looking at the test setup, unfortunately we're only testing the basics of the haproxy.cfg
file:
Meaning, there's no testing of the actual file contents.
Furthermore, I didn't see any examples of httpcheck
in the pillar.example
or test pillars.
I decided that we should have values for both httpcheck
and httpchecks
in the pillar files, so that the code is being tested, at the very least (while not being verified). I've added that commit to this PR.
Used these sources when looking for appropriate values to use:
Merged, thanks @ze42.
:tada: This PR is included in version 0.18.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
httpcheck was a single value, and required to be a single string Allow httpchecks (with an
s
, like other such options) to be a list to repeat the optionPR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?No.
Related issues and/or pull requests
Describe the changes you're proposing
httpcheck was a single value, and required to be a single string. But the documentation and example often place multiple such lines.
Allow httpchecks (with an
s
, like other such options) to be a list to repeat the optionPillar / config required to test the proposed changes
Any that would replace
httpcheck
byhttpchecks
and possibly with multiple lines. (in listeners, or backend).Debug log showing how the proposed changes work
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context