I search the Internet for answers to computer technical problems that I encounter. When the Internet does not supply me with an answer, I research one on my own. Then, I document the answer here so others can find it.
Also, for your benefit, this stupid blog name makes a great mnemonic.

2008-10-24

[Opsware] boolean-(yes|no)-format="<string>" not working

In Opsware SAS 7.0 Policy Setter's Guide in "Appendix A: CML Tutorial and Reference", the following example is given.@!boolean-yes-format="1";boolean-no-format="0"@

With the following explanation.

Defines the allowable boolean values in the configuration file. In this case, Yes isindicated with the character 1, and No is indicated with a 0. This means that is auser tried to use the string yes, the Application Configuration would not accept it.

Well, the SAS Client simply does not acknowledge these instructions. Here are my own usage attempts to get the SAS Client to work.@!boolean-yes-format="on"@@!boolean-no-format="off"@

None of these worked inside the SAS client. When I tried to enter the default values, the client only gave me the choice of "True" or "False" and when I manually entered "on", it gave me the exception "com.opsware.acm.CMLFieldValidationException: TypeValidationError".