Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 533 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 533 Bytes

Nitrox for Consul-Template

Usage

Pre-requisites

  1. [Consul-template] (https://github.com/hashicorp/consul-template)
  2. Netscaler pre-requisites are here

Theory of operation

consul-template creates a JSON config file for a Consul service. This config file is fed to the python script which drives Netscaler configuration

Example

# in top-level directory of project
consul-template -consul $CONSUL_IP:8500 -template consul_single_svc.ctmpl:cfg.json:"python main.py --cfg-file cfg.json"