Removed yumrepo ensure flag as it isn't supported with Puppet <3.5
[integration/packaging/puppet-opendaylight.git] / manifests / install.pp
1 # == Class opendaylight::install
2 #
3 # This class is called from opendaylight for install.
4 #
5 class opendaylight::install {
6
7   yumrepo { 'opendaylight':
8     # 'ensure' isn't supported with Puppet <3.5
9     #ensure   => 'present',
10     descr    => 'OpenDaylight SDN controller',
11     baseurl  => 'http://104.131.189.230/repository/',
12     gpgcheck => False,
13     enabled  => True,
14   }
15
16   package { $::opendaylight::package_name:
17     ensure => present,
18   }
19 }