From fc3228bd6c2163081143e2231e0574faa9bcaad1 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Tue, 3 May 2016 09:22:42 +0800 Subject: Create fuel kvm plugin Upstream status: NA In Brahmaputra release, KVM plugin functionality was bundled inside the fuel-plugin-qemu. In order for easy maintenance, the KVM plugin functionality would be separated from fuel-plugin-qemu and moved into an independent fuel-plugin-kvm and keep the source code here starting from Colorado release. Change-Id: Id89069234a4529cca40f1887e2d947378f928dd2 Signed-off-by: davidjchou Signed-off-by: Guo Ruijing --- .../deployment_scripts/puppet/manifests/kvm-install.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp (limited to 'fuel-plugin/deployment_scripts/puppet') diff --git a/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp b/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp new file mode 100644 index 000000000..2b93a13a0 --- /dev/null +++ b/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp @@ -0,0 +1,17 @@ +$fuel_settings = parseyaml(file('/etc/compute.yaml')) +if $operatingsystem == 'Ubuntu' { + if $fuel_settings['fuel-plugin-kvm']['use_kvm'] { + package { 'linux-headers-4.1.10-rt10nfv': + ensure => "1.0.OPNFV", + } -> + package { 'linux-image-4.1.10-rt10nfv': + ensure => "1.0.OPNFV", + } -> + exec {'reboot': + command => "reboot", + path => "/usr/bin:/usr/sbin:/bin:/sbin", + } + } else { + } +} elsif $operatingsystem == 'CentOS' { +} -- cgit 1.2.3-korg