23902cc37a31a878f8aa2e74093cf770725589af
[kvmfornfv.git] / fuel-plugin / deployment_scripts / puppet / manifests / kvm-install.pp
1 $fuel_settings = parseyaml(file('/etc/compute.yaml'))
2 if $operatingsystem == 'Ubuntu' {
3         if $fuel_settings['fuel-plugin-kvm']['use_kvm'] {
4                 package { 'linux-headers-4.4.6-rt14nfv':
5                         ensure => "1.0.OPNFV",
6                 } ->
7                 package { 'linux-image-4.4.6-rt14nfv':
8                         ensure => "1.0.OPNFV",
9                 } ->
10                 exec {'reboot':
11                        command => "reboot",
12                        path   => "/usr/bin:/usr/sbin:/bin:/sbin",
13                 }
14         } else {
15         }
16 } elsif $operatingsystem == 'CentOS' {
17 }