Merge "Exposing the ability to enable/disable the repository"
authorJenkins <jenkins@review.openstack.org>
Fri, 21 Jul 2017 08:07:57 +0000 (08:07 +0000)
committerGerrit Code Review <review@openstack.org>
Fri, 21 Jul 2017 08:07:57 +0000 (08:07 +0000)
1  2 
puppet/services/opendaylight-api.yaml

@@@ -37,10 -37,6 +37,10 @@@ parameters
      description: Mapping of service endpoint -> protocol. Typically set
                   via parameter_defaults in the resource registry.
      type: json
 +  ServiceData:
 +    default: {}
 +    description: Dictionary packing service data
 +    type: json
    ServiceNetMap:
      default: {}
      description: Mapping of service_name -> network name. Typically set
      default: {}
      description: Parameters specific to the role
      type: json
+   OpenDaylightManageRepositories:
+     description: Whether to manage the OpenDaylight repository
+     type: boolean
+     default: false
  
  outputs:
    role_data:
@@@ -72,6 -72,7 +76,7 @@@
          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: