Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

YAML data types #88

Open
tuxmea opened this issue Apr 26, 2021 · 0 comments
Open

YAML data types #88

tuxmea opened this issue Apr 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@tuxmea
Copy link
Contributor

tuxmea commented Apr 26, 2021

  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 tuxmea added the enhancement New feature or request label Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant