salt-formulas / reclass

A recursive external node classifier for automation tools like Ansible, Puppet, and Salt
Other
53 stars 23 forks source link

Specifying relative paths to the values within the parameters? #90

Open narun4sk opened 4 years ago

narun4sk commented 4 years ago

Given the following:

parameters:
  elasticsearch:
    image: "quay.io/pires/docker-elasticsearch-kubernetes:5.5.0"
    java_opts: "-Xms512m -Xmx512m"
    replicas: 1
    masters: 1
    roles:
      master:
        image: ${elasticsearch:image}

Instead of specifying ${elasticsearch:image} I would like to be able to use a relative path, something similar to ${...:image}.

Hence: