Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@count0ru
Created September 19, 2017 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save count0ru/7c268dfa80143026c1bc4afcb748a537 to your computer and use it in GitHub Desktop.
Save count0ru/7c268dfa80143026c1bc4afcb748a537 to your computer and use it in GitHub Desktop.
salt module issue
clickhouse-exporter-discovery:
module.run:
- name: consul.catalog_register
- node: mynode
- address: mynode
- service: clickhouse_exporter
- service_address: {{ salt['network.interfaces']()['ens3']['inet'][0]['address'] }}
- service_port: 9116
- service_id: {{ grains['id'] }}
- consul_url: http://consulhost:8500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment