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