Replies: 2 comments 1 reply
|
I am surprised that ever worked since that would put multiple states on the same line after the jinja is rendered like this: games: user.absent abrt: user.absentYou can run with You just probably just need some newlines: I like to put the empty argument list |
1 reply
|
I figured it out. Two file.absent stanzas at the beginning of the state file were missing trailing colons. Not sure why that was not caught earlier. Thanks again! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We just moved our salt version up to 3006.7. For several years we've had code:
{% for user in ['games','abrt'] %} {{ usr }}: user.absent {% endfor %}and that has worked without a problem. We are now testing on RHEL 9 and with that code, I am getting:
Rendering SLS 'my-branch:compliance/harden/init' failed: expected '<document start>', but found '<block mapping start>' in "<unicode string>", line 23, column 1: games: ^Does anyone have an idea why this is happening and how to fix?
All reactions