I have some questions about the elasticsearch modu...
# forge-modules
b
I have some questions about the elasticsearch module and hiera. I’ve gotten it to install the version I want but I cannot get it to set any parameters using hiera at all.
Copy code
elastic_stack::repo::version: 8
elasticsearch::version: '8.13.4'
elasticsearch::autoupgrade: false
elasticsearch::jvm_options: 
  -"-Xms8g"
  -"-Xmx8g"
elasticsearch::config::cluster.name: 'clustername'
elasticsearch::config::cluster.initial_master_nodes: 'server-name-01.domain.tld'
elasticsearch::config::bootstrap.memory_lock: true
elasticsearch::config::network.host: 'server-name-01.domain.tld'
elasticsearch::config::node.name: 'server-name-01'
elasticsearch::config::node.roles:
  - data_hot
  - data_content
  - master
  - ingest
elasticsearch::config::http.port: 9200
elasticsearch::config::discovery.seed_hosts:
  - server-name-01.domain.tld
  - server-name-02.domain.tld
  - server-name-03.domain.tld
elasticsearch::config::xpack.license.self_generated.type: 'basic'
the directives above works translated into a regular manifest but the hiera implementation doesn’t seem to work the same way. am i missing something? i would prefer to use hiera but please tell me if it’s possible or if i’m just wasting my time trying to get it to work, thanks :)