Created
September 19, 2017 09:37
-
-
Save count0ru/7c268dfa80143026c1bc4afcb748a537 to your computer and use it in GitHub Desktop.
salt module issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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