Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2410

# value expand to cf_null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.8.1, 3.9.0 beta
    • Fix Version/s: 3.10.0
    • Component/s: Evaluation, Language
    • Labels:
      None
    • Environment:
      Centos 7, x86_64
    • Platform:
      RHEL or CentOS

      Description

      When you evaluate the following bundle:

      bundle agent main {
      vars:
          "var1" string => "${#}";
      
      reports:
          "var1 = ${var1}";
      
      }
      

      var1 evaluate to cf_null. Is there any particular caution to use '#' inside strings.

      1. is a common character inside template scripts .

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              yrouxel Yann Rouxel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel