diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2017-02-12 01:33:05 +0100 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2017-02-12 20:11:51 +0100 |
commit | b1c66830c2fa87d07b79fb6706a2eb644d39d471 (patch) | |
tree | 9f3b9fde8211c87868f7a1d7aa797336e63c7dea /deploy/puppet/gluon/templates | |
parent | d31cfcc80428088cc4ddbabd721e01ff6265a8fc (diff) |
Extending Gluon puppet manifests
* correctly reading etcd data from hieradata
* template for proton.conf config file
Change-Id: I62728f84a932d1dfef54b548a1e97b22bf06fcd8
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'deploy/puppet/gluon/templates')
-rw-r--r-- | deploy/puppet/gluon/templates/proton.conf.erb | 16 |
1 files changed, 16 insertions, 0 deletions
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') %> |