Uploaded image for project: 'Cookbooks'
  1. Cookbooks
  2. COOK-112

Support arrays for any property which supports multiple entries

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: cdap, hadoop, hadoop_mapr
    • Labels:
      None
    • Rank:
      1|hzzp5b:

      Description

      Example:

      This

      node.default['cdap']['cdap_site']['kafka.server.log.dirs'] = kafka_log_dirs
      

      Becomes

      node.default['cdap']['cdap_site']['kafka.server.log.dirs'] = [ *kafka_log_dirs ].join(',')
      

      Then, we handle the property as an array, versus splitting on commas in other uses.

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              chris Chris Gianelloni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: