X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=405475a225372141ea53e4b7d042e89508fd4950;hb=aee23f17d6270c2de215a0afc06862b550b6a0e2;hp=efbcce44132b42018a1e41a5b30a9c4e72167a17;hpb=5999a719ffcc9f860711032522e0a1730027de43;p=integration%2Fpackaging%2Fpuppet-opendaylight.git diff --git a/manifests/params.pp b/manifests/params.pp index efbcce4..405475a 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,14 +1,26 @@ # == Class opendaylight::params # -# This class is meant to be called from opendaylight. -# It sets variables according to platform. +# This class manages the default params for the ODL class. # class opendaylight::params { - if $::osfamily == 'RedHat' { - $package_name = 'opendaylight' - $service_name = 'opendaylight' - } - else { - fail("Unsupported OS family: ${::osfamily}") - } + # NB: If you update the default values here, you'll also need to update: + # spec/spec_helper_acceptance.rb's install_odl helper fn + # spec/classes/opendaylight_spec.rb tests that use default Karaf features + # Else, both the Beaker and RSpec tests will fail + # TODO: Remove this possible source of bugs^^ + $default_features = ['config', 'standard', 'region', 'package', 'kar', 'ssh', 'management'] + $extra_features = [] + $odl_rest_port = '8080' + $odl_bind_ip = '0.0.0.0' + $install_method = 'rpm' + $rpm_repo = 'opendaylight-5-testing' + $tarball_url = '' + $unitfile_url = 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz' + $odl_rest_port = '8080' + $enable_l3 = 'no' + $log_levels = {} + $enable_ha = false + $ha_node_ips = [] + $ha_node_index = '' + $security_group_mode = 'stateful' }