1 # == Class opendaylight::install
3 # This class is called from opendaylight for install.
5 class opendaylight::install {
7 yumrepo { 'opendaylight':
8 # 'ensure' isn't supported with Puppet <3.5
9 # hopfully it defaults to present, but docs don't say
10 # https://docs.puppetlabs.com/references/3.4.0/type.html#yumrepo
11 # https://docs.puppetlabs.com/references/3.5.0/type.html#yumrepo
13 descr => 'OpenDaylight SDN controller',
14 baseurl => 'http://104.131.189.230/repository/',
17 before => Package['opendaylight'],
20 package { $::opendaylight::package_name:
22 require => Yumrepo['opendaylight'],