hdm icon indicating copy to clipboard operation
hdm copied to clipboard

YAML data types

Open tuxmea opened this issue 4 years ago • 0 comments

  1. normal string, boolean, integer, float, hash, array
  2. pipe (e.g. file content)
  3. block syntax

Offer users a selector, which data type they would like to store.

Example for pipe:

long_pipe: |
  cluster.name: dev_cluster
  path.data: /var/lib/elasticsearch
  path.logs: /var/log/elasticsearch
  network.host: %{facts.fqdn}
  http.port: 9200
  discovery.seed_hosts: ["localhost"]
  cluster.initial_master_nodes: ["localhost"]
  action.destructive_requires_name: true

  xpack.security.enabled: true

Example for block:

long_block: >
    ENC[PKCS7,Y22exl+OvjDe+drmik2XEeD3VQtl1uZJXFFF2NnrMXDWx0csyqLB/2NOWefv
    NBTZfOlPvMlAesyr4bUY4I5XeVbVk38XKxeriH69EFAD4CahIZlC8lkE/uDh
    jJGQfh052eonkungHIcuGKY/5sEbbZl/qufjAtp/ufor15VBJtsXt17tXP4y
    l5ZP119Fwq8xiREGOL0lVvFYJz2hZc1ppPCNG5lwuLnTekXN/OazNYpf4CMd
    /HjZFXwcXRtTlzewJLc+/gox2IfByQRhsI/AgogRfYQKocZgFb/DOZoXR7wm
    IZGeunzwhqfmEtGiqpvJJQ5wVRdzJVpTnANBA5qxeA==]

tuxmea avatar Apr 26 '21 12:04 tuxmea