summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/deployment_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin/deployment_scripts')
-rw-r--r--fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp17
1 files changed, 17 insertions, 0 deletions
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' {
+}