Fixed error when rendering mustache template on RHEL 10#3093
Merged
larsewi merged 1 commit intocfengine:3.24.xfrom Jan 4, 2026
Merged
Fixed error when rendering mustache template on RHEL 10#3093larsewi merged 1 commit intocfengine:3.24.xfrom
larsewi merged 1 commit intocfengine:3.24.xfrom
Conversation
Fixed error rendering `/opt/cfengine/federation/cfapache/setup-status.json`: ``` Error: Unable to find a match: $(semanage_package) ``` on Red Hat 10. Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Contributor
Author
|
@cf-bottom Jenkins please :) |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/13255/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13255/ |
craigcomstock
approved these changes
Jan 2, 2026
| debian_6|debian_7|debian_8|ubuntu_12|ubuntu_14|ubuntu_16|rhel_5:: | ||
| "semanage_package" string => "policycoreutils"; | ||
| debian_9|debian_10|ubuntu_18|redhat_8|centos_8|redhat_9|rocky_9:: | ||
| debian_9|debian_10|ubuntu_18|redhat_8|centos_8|redhat_9|redhat_10|rocky_9:: |
Contributor
There was a problem hiding this comment.
yep, here is where we need a better way to say os debian-based >= 9 or rhel-based >= 8
Contributor
Author
There was a problem hiding this comment.
Yepp, we have some OS variables we can use in a follow-up PR. I will fix this ;)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed error rendering
/opt/cfengine/federation/cfapache/setup-status.json:on Red Hat 10.
Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech