Adds SSL/TLS support
[integration/packaging/puppet-opendaylight.git] / manifests / params.pp
1 # == Class opendaylight::params
2 #
3 # This class manages the default params for the ODL class.
4 #
5 class opendaylight::params {
6   # NB: If you update the default values here, you'll also need to update:
7   #   spec/spec_helper_acceptance.rb's install_odl helper fn
8   #   spec/classes/opendaylight_spec.rb tests that use default Karaf features
9   # Else, both the Beaker and RSpec tests will fail
10   # TODO: Remove this possible source of bugs^^
11   $default_features = ['standard', 'wrap', 'ssh']
12   $extra_features = []
13   $odl_rest_port = '8080'
14   $odl_bind_ip = '0.0.0.0'
15   $rpm_repo = 'https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-$basearch-devel'
16   $deb_repo = 'ppa:odl-team/carbon'
17   $log_levels = {}
18   $enable_ha = false
19   $ha_node_ips = []
20   $ha_node_index = 0
21   $ha_db_modules = { 'default' => false }
22   $vpp_routing_node = ''
23   $java_opts = '-Djava.net.preferIPv4Stack=true'
24   $manage_repositories = true
25   $username = 'admin'
26   $password = 'admin'
27   $log_max_size = '10GB'
28   $log_max_rollover = 2
29   $snat_mechanism = 'controller'
30   $enable_tls = false
31   $tls_keystore_password = undef
32   $tls_key_file = undef
33   $tls_cert_file = undef
34   $tls_ca_cert_file = undef
35   $tls_trusted_certs = []
36 }