diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2017-02-03 10:38:42 +0100 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2017-02-06 16:08:55 +0100 |
commit | 77804f22bf3e76f3080f27f426aa8dbc8c86b87d (patch) | |
tree | 82a26de352159bf5e209ccc88c25cf667462a88b /deploy/puppet/gluon/manifests/init.pp | |
parent | 94aefc7d43d2dcdbfb6a0951f9120d9e17f6db74 (diff) |
Restructuring Gluon puppet manifests
Structuring the puppet manifests similar to how it is done in
OpenDaylight and etcd.
Change-Id: I9d0fb60ddd626129b38b1f642ce3894ca3098cc4
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'deploy/puppet/gluon/manifests/init.pp')
-rw-r--r-- | deploy/puppet/gluon/manifests/init.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deploy/puppet/gluon/manifests/init.pp b/deploy/puppet/gluon/manifests/init.pp new file mode 100644 index 0000000..ec1e036 --- /dev/null +++ b/deploy/puppet/gluon/manifests/init.pp @@ -0,0 +1,15 @@ +class gluon inherits ::gluon::params { + + $odl_bind_ip = hiera(opendaylight::odl_bind_ip, $::gluon::params::odl_bind_ip) + $odl_rest_port = hiera(opendaylight::odl_rest_port, $::gluon::params::odl_rest_port) + $odl_username = hiera(opendaylight::username, $::gluon::params::odl_username) + $odl_password = hiera(opendaylight::password, $::gluon::params::odl_password) + $etcd_bind_ip = hiera(etcd::bind_ip, $::gluon::params::etcd_bind_ip) + $etcd_client_port = hiera(etcd::client_port, $::gluon::params::etcd_client_port) + + class { '::gluon::install': } -> + class { '::gluon::config': } ~> + class { '::gluon::service': } -> + Class['::gluon'] + +} |