$extra_features = []
$odl_rest_port = '8080'
$odl_bind_ip = '0.0.0.0'
- $rpm_repo = 'opendaylight-5-testing'
+ $rpm_repo = 'opendaylight-6-testing'
$deb_repo = 'ppa:odl-team/boron'
$log_levels = {}
$enable_ha = false
context "with defaults" do
it { should contain_class('opendaylight::repos') }
it {
- should contain_yumrepo('opendaylight-5-testing').with(
- :baseurl => 'http://cbs.centos.org/repos/nfv7-opendaylight-5-testing/$basearch/os/',
+ should contain_yumrepo('opendaylight-6-testing').with(
+ :baseurl => 'http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/',
:enabled => 1,
:gpgcheck => 0,
)
def rpm_install_tests(options = {})
# Extract params
- rpm_repo = options.fetch(:rpm_repo, 'opendaylight-5-testing')
+ rpm_repo = options.fetch(:rpm_repo, 'opendaylight-6-testing')
java_opts = options.fetch(:java_opts, '-Djava.net.preferIPv4Stack=true')
# Default to CentOS 7 Yum repo URL
def unsupported_os_tests(options = {})
# Extract params
expected_msg = options.fetch(:expected_msg)
- rpm_repo = options.fetch(:rpm_repo, 'opendaylight-5-testing')
+ rpm_repo = options.fetch(:rpm_repo, 'opendaylight-6-testing')
# Confirm that classes fail on unsupported OSs
it { expect { should contain_class('opendaylight') }.to raise_error(Puppet::Error, /#{expected_msg}/) }