(imported topic written by kbrammer)
I am trying to get the CIS RHEL6 Baseline up and running in a test environment.
There are two tasks in the baseline. I am executing the task “RHEL6 Enterprise Deploy and Execute Scanning Scripts” which I understand is necessary for the fixlets to function. It errors.
So to get some sort of starting point on the troubleshooting, I run it in the action tab of the fixlet debugger, and I find that its erroring (in the debugger) on the following lines:
createfile until __EOF
{concatenations “%0a” of (values of headers “x-fixlet-detect-script0” of it) of fixlets of current site}
__EOF
I understand that the part of the script inside {curly braces} is relevance that executes and the result is substituted as text between the __EOF delimiters, and that that text becomes the __createfile, which gets written out in the next line of code. However, when I run that same line of code {inside the curly braces} on the Q&A tab of the fixlet debugger, it executes just fine and returns numerous lines of tagged fixlet data that seems correct.
And when I remove the {curly braces} from the action script, it also executes fine, predicitably populating the __createfile with the line of code (rather than the result of the line of code, as originally intended by the author).
So I’m scratching my head wondering how this could be? Do curly braces no longer function as they once did? Have they been replaced by something else? Or is there some sort of contextual difference between the Q&A tab and the Action tab of the Fixlet debugger? What am I missing or misunderstanding here?