I’m trying to create 2 baselines, a pre-patching baseline and a patching baseline, that would be started together. The first one would take care of some preliminary tasks, and then bring a Solaris system down to true single-user mode. The second one, would then wait for certain conditions, including a reboot that occurred after the first baseline was started.
What I was wondering is, would the first baseline complete successfully on a machine, if the Solaris CPU fixlet was included in this baseline, but it was marked as No Action Selected? I’m doing this, and checking the check box to have “The baseline will be relevant on applicable computers where this component is relevant” for the Solaris CPU fixlet. I only want the first baseline to run, if the Solaris CPU fixlet is relevant on the targeted machine.
Is there a way to include the relevance of a fixlet, without having the fixlet “performed”?
I don’t want this baseline to be considered as relevant if the CPU Patch fixlet is not relevant. The thing is, these is a large amount of relevance for this fixlet, and I’d rather not have to try to duplicate it.
Yes, that Fixlet would make the Baseline relevant; but it would also cause the Baseline Action to always report as ‘Failed’, because the Baseline Relevance would still evaluate to a ‘True’ after you execute it.
Maybe you can live with that, it’s not that big a deal. But if you do want to copy the relevance out of the original Fixlet, the easiest way to copy it all is to use the ‘Take Action’ dialog on the original fixlet (you don’t have to actually execute it though). In the ‘Take Action’ dialog, the Applicability tab will have all of the separate relevance clauses joined together into one statement, that’s easier to copy/paste than are the individual clauses.
I made a copy of the Solaris CPU fixlet, removed all of the Actions, and created an action that has a blank Action Script section, includes custom success criteria set to False, so the fixlet will always be considered successful. And, I also made that action the default action. This way, I get the relevance from the fixlet, but don’t perform the fixlet, until I want it performed in the 2nd baseline.