Parametrize the logging pattern to use
[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 = '8181'
14   $odl_bind_ip = '0.0.0.0'
15   $rpm_repo = 'https://nexus.opendaylight.org/content/repositories/opendaylight-fluorine-epel-7-$basearch-devel'
16   $deb_repo = 'ppa:odl-team/nitrogen'
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 = ''
24   $manage_repositories = true
25   $username = 'admin'
26   $password = 'admin'
27   $log_max_size = '10GB'
28   $log_max_rollover = 2
29   $log_rollover_fileindex = 'min'
30   $log_pattern = '%d{ISO8601} | %-5p | %-16t | %-60c{6} | %m%n'
31   $snat_mechanism = 'controller'
32   $enable_tls = false
33   $tls_keystore_password = undef
34   $tls_key_file = undef
35   $tls_cert_file = undef
36   $tls_ca_cert_file = undef
37   $tls_trusted_certs = []
38   $log_mechanism = 'file'
39   $inherit_dscp_marking = false
40   $stats_polling_enabled = false
41   $inactivity_probe = undef
42 }