[Fuel-plugin] Install kernel in post-deployment.
[kvmfornfv.git] / fuel-plugin / deployment_scripts / puppet / manifests / kvm-install.pp
1 $kvm_settings = hiera('fuel-plugin-kvm')
2 if $operatingsystem == 'Ubuntu' {
3         if $kvm_settings['use_kvm'] {
4                 package { 'linux-headers-4.4.6-rt14nfv':
5                         ensure => "1.0.OPNFV",
6                         notify => Reboot['after_run'],
7                 } ->
8                 package { 'linux-image-4.4.6-rt14nfv':
9                         ensure => "1.0.OPNFV",
10                         notify => Reboot['after_run'],
11                 }
12                 reboot { 'after_run':
13                     apply => finished,
14                 }
15         } else {
16         }
17 } elsif $operatingsystem == 'CentOS' {
18 }