aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorItzik Brown <itzikb@redhat.com>2017-04-02 11:24:42 +0300
committerItzik Brown <itzikb@redhat.com>2017-06-27 16:37:57 -0400
commitb5379845d98f32511251a3efa019af173d79b9aa (patch)
tree357401ae59b76b2c6d1d8dc440f8ed4442528481 /puppet/services
parent43c38f36f6e7a5c988c120813ccb9acdff56c9d8 (diff)
Exposing the ability to enable/disable the repository
The opendaylight-puppet module is exposing the manage_repositories variable to add or not the RPM repository for OpenDaylight. Adding this option to the Tripleo Heat templates. Change-Id: I4b5a32baa3fa8c85d72dce9d537eed4c73d42589 Closes-bug: #1679456
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/opendaylight-api.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml
index af85f4a3..917d36e8 100644
--- a/puppet/services/opendaylight-api.yaml
+++ b/puppet/services/opendaylight-api.yaml
@@ -54,6 +54,10 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
+ OpenDaylightManageRepositories:
+ description: Whether to manage the OpenDaylight repository
+ type: boolean
+ default: false
outputs:
role_data:
@@ -68,6 +72,7 @@ outputs:
opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpendaylightApiNetwork]}
opendaylight::nb_connection_protocol: {get_param: OpenDaylightConnectionProtocol}
+ opendaylight::manage_repositories: {get_param: OpenDaylightManageRepositories}
tripleo.opendaylight_api.firewall_rules:
'137 opendaylight api':
dport: