cd_elasticsearch | parameters

  • pkg_ensure (string) (defaults to: 'present') — which package type to choose, i.e. latest or present.
  • reqpackages (string) (defaults to: 'elasticsearch') — the packages to install
  • es_pgp_url (string) (defaults to: 'https://artifacts.elastic.co/GPG-KEY-elasticsearch') — the url to load the public PGP key from
  • es_user_name (string) (defaults to: 'elasticsearch') — the name for the elasticsearch service user
  • es_user_groups (string) (defaults to: []) — the groups for the elasticsearch service user.
  • es_user_shell (string) (defaults to: '/sbin/nologin') — the shell for the elasticsearch service user
  • es_data_dir (string) (defaults to: '/var/lib/elasticsearch') — the data directory for the e;astic data to live
  • es_log_dir (string) (defaults to: '/var/log/elasticsearch') — where to store service logs
  • es_cluster_name (string) (defaults to: 'my-application') — the name for the elasticsearch cluster
  • es_cl_alloc_ena (string) (defaults to: 'all') — value for cluster.routing.allocation.enable Enable or disable allocation for specific kinds of shards. valid options are all, primaries, new_primaries, none.
  • es_cl_alloc_all_reb (string) (defaults to: 'always') — Value for cluster.routing.allocation.allow_rebalance .Valid options are always, indices_primaries_active, indices_all_active.
  • es_cl_aw_attr (string) (defaults to: 'rack') — Value for cluster.routing.allocation.awareness.attributes. shards are only allocated to nodes that have values set for the specified awareness attributes.
  • es_cl_rebalance_ena (string) (defaults to: 'all') — cluster.routing.rebalance.enable Value for cluster.routing.rebalance.enable. Valid options are all, primaries, replicas, none.
  • es_node_master (boolean) (defaults to: true) — whether the node should be master eligible.
  • es_node_data (boolean) (defaults to: true) — whether the node should be a data node.
  • es_node_ingest (boolean) (defaults to: true) — wheter the node should be an ingest node.
  • es_node_ml (boolean) (defaults to: true) — whether the node should be machinelearning.
  • es_node_attr_rack (string) (defaults to: '1') — custom attribute for the node.
  • es_bs_memory_lock (boolean) (defaults to: true) — whether to lock the memory at bootstrap
  • es_network_host (string) (defaults to: '127.0.0.1') — Specify the address range the node should bind to.
  • es_disc_seed_hosts (array) (defaults to: ['127.0.0.1']) — initial list of hosts to perform discovery when this node is started.
  • es_disc_type (string) (defaults to: '') — value for disovery.type.
  • es_init_master_nodes (array) (defaults to: ['127.0.0.1']) — list of initial master nodes. Required.
  • es_gw_recovery_nodes (string) (defaults to: '1') — Block initial recovery after a full cluster restart until N nodes are started.
  • es_action_req_names (boolean) (defaults to: true) — require explicit names when deleting indices.
  • es_xpack_sec_enabled (boolean) (defaults to: true) — Whether to enable security.
  • es_authc_acc_def_pw (boolean) (defaults to: false) — Whether to accept the default password
  • es_transp_tls_ena (boolean) (defaults to: true) — whether to enable tsl transport encryption
  • es_tls_verif_mode (string) (defaults to: 'certificate') — ssl certification mode. Valid options are none, certificate,full`.
  • es_tls_ca_content (string) (defaults to: undef) — placeholder for the ca.crt to be populated via ENC.
  • es_tls_key_content (string) (defaults to: undef) — placeholder for the instance.key to be populated via ENC.
  • es_tls_crt_content (string) (defaults to: undef) — placeholder for the instance.crt to be populated via ENC.
  • es_mon_coll_ena (boolean) (defaults to: true) — whether to allow xpack monitoring collection
  • es_manage_firewall (boolean) (defaults to: true) — whether to manage the firewall settings.
  • es_main_port (string) (defaults to: '9200') — the external port for elasticsearch.
  • es_int_port (string) (defaults to: '9300') — the internal port for cluster communication
  • es_source (string) (defaults to: '0.0.0.0/0') —the source range for the firewall.
  • es_min_heapsize (string) (defaults to: 'Xms2g') — value for the minimum JVM heapsize.
  • es_max_heapsize (string) (defaults to: 'Xms2g') — value for the maximum JVM heapsize.

Leave a Reply