From b1c66830c2fa87d07b79fb6706a2eb644d39d471 Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Sun, 12 Feb 2017 01:33:05 +0100 Subject: Extending Gluon puppet manifests * correctly reading etcd data from hieradata * template for proton.conf config file Change-Id: I62728f84a932d1dfef54b548a1e97b22bf06fcd8 Signed-off-by: Georg Kunz --- deploy/puppet/gluon/templates/proton.conf.erb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 deploy/puppet/gluon/templates/proton.conf.erb (limited to 'deploy/puppet/gluon/templates') diff --git a/deploy/puppet/gluon/templates/proton.conf.erb b/deploy/puppet/gluon/templates/proton.conf.erb new file mode 100644 index 0000000..f530782 --- /dev/null +++ b/deploy/puppet/gluon/templates/proton.conf.erb @@ -0,0 +1,16 @@ +[DEFAULT] +state_path = /var/lib/proton + + +[api] +# The listen IP for the proton API server +host = <%= scope.lookupvar('gluon::bind_ip') %> + +# The port for the proton API server +port = <%= scope.lookupvar('gluon::port') %> + +# IP of the etcd server +etcd_host = <%= scope.lookupvar('gluon::etcd_bind_ip') %> + +# Port of the etcd server +etcd_port = <%= scope.lookupvar('gluon::etcd_client_port') %> -- cgit 1.2.3-korg