Closed normelton closed 1 year ago
thanks for the PR/email. Please take a look at the inline comments and the other datatypes you added. If you read the code correctly, this is only a bugfix and shouldn't breaking existing installations?
Okay, so I realized a corner-case. This patch depends on knowing the value of the keepalived_version
fact. That's fine, as long as keep alive is installed. But if you're deploying keepalive with this module, then the fact doesn't have a value until the package is installed. The code here will complain that the fact value doesn't exist.
I think I need to withdraw this PR and reconsider. A few possibilities:
keepalived_version
fact, and allow the user to specify a version of keepalived in their puppet manifest. Without a version specified, assume the latest. This is less "magical", but works.vrrp_track_file
or track_file
in their puppet manifest, and assume they know which syntax is required for their specific version of keepalived.Thoughts?
Duh, I had my fix (#282) lying around for ~ as long as this PR is open... maybe we should join forces? ;-)
Duh, I had my fix (#282) lying around for ~ as long as this PR is open... maybe we should join forces? ;-)
Yeah your solution is much simpler. I tried to make it automagically work, but that gets complicated. I’m closing this PR and upvoting yours.
Pull Request (PR) description
This PR solves two issues related to keepalive configuration:
This Pull Request (PR) fixes the following issues
Fixes #278