@@ -231,7 +231,7 @@ def tarball_install_tests(options = {})
231231 # Extract params
232232 # NB: These default values should be the same as ones in opendaylight::params
233233 # TODO: Remove this possible source of bugs^^
234- tarball_url = options . fetch ( :tarball_url , 'https://nexus.opendaylight.org/content/repositories/autorelease-1079 /org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz' )
234+ tarball_url = options . fetch ( :tarball_url , 'https://nexus.opendaylight.org/content/groups/public /org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium/distribution-karaf-0.4.0-Beryllium.tar.gz' )
235235 unitfile_url = options . fetch ( :unitfile_url , 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz' )
236236 osfamily = options . fetch ( :osfamily , 'RedHat' )
237237
@@ -355,7 +355,7 @@ def tarball_install_tests(options = {})
355355 end
356356
357357 # Verify that there are no unexpected resources from RPM-type installs
358- it { should_not contain_yumrepo ( 'opendaylight-4-testing ' ) }
358+ it { should_not contain_yumrepo ( 'opendaylight-40-release ' ) }
359359 it { should_not contain_package ( 'opendaylight' ) }
360360end
361361
@@ -366,28 +366,28 @@ def rpm_install_tests(options = {})
366366 operatingsystem = options . fetch ( :operatingsystem , 'CentOS' )
367367 case operatingsystem
368368 when 'CentOS'
369- yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-4-testing /$basearch/os/'
369+ yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release /$basearch/os/'
370370 when 'Fedora'
371- yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-4-testing /$basearch/os/'
371+ yum_repo = 'http://cbs.centos.org/repos/nfv7-opendaylight-40-release /$basearch/os/'
372372 else
373373 fail ( "Unknown operatingsystem: #{ operatingsystem } " )
374374 end
375375
376376 # Default to CentOS 7 Yum repo URL
377377
378378 # Confirm presence of RPM-related resources
379- it { should contain_yumrepo ( 'opendaylight-4-testing ' ) }
379+ it { should contain_yumrepo ( 'opendaylight-40-release ' ) }
380380 it { should contain_package ( 'opendaylight' ) }
381381
382382 # Confirm relationships between RPM-related resources
383- it { should contain_package ( 'opendaylight' ) . that_requires ( 'Yumrepo[opendaylight-4-testing ]' ) }
384- it { should contain_yumrepo ( 'opendaylight-4-testing ' ) . that_comes_before ( 'Package[opendaylight]' ) }
383+ it { should contain_package ( 'opendaylight' ) . that_requires ( 'Yumrepo[opendaylight-40-release ]' ) }
384+ it { should contain_yumrepo ( 'opendaylight-40-release ' ) . that_comes_before ( 'Package[opendaylight]' ) }
385385
386386 # Confirm properties of RPM-related resources
387387 # NB: These hashes don't work with Ruby 1.8.7, but we
388388 # don't support 1.8.7 so that's okay. See issue #36.
389389 it {
390- should contain_yumrepo ( 'opendaylight-4-testing ' ) . with (
390+ should contain_yumrepo ( 'opendaylight-40-release ' ) . with (
391391 'enabled' => '1' ,
392392 'gpgcheck' => '0' ,
393393 'descr' => 'CentOS CBS OpenDaylight Berillium testing repository' ,
@@ -413,7 +413,7 @@ def unsupported_os_tests(options = {})
413413 it { expect { should contain_class ( 'opendaylight::service' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
414414
415415 # Confirm that other resources fail on unsupported OSs
416- it { expect { should contain_yumrepo ( 'opendaylight-4-testing ' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
416+ it { expect { should contain_yumrepo ( 'opendaylight-40-release ' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
417417 it { expect { should contain_package ( 'opendaylight' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
418418 it { expect { should contain_service ( 'opendaylight' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
419419 it { expect { should contain_file ( 'org.apache.karaf.features.cfg' ) } . to raise_error ( Puppet ::Error , /#{ expected_msg } / ) }
0 commit comments