summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/deployment_scripts/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin/deployment_scripts/puppet')
-rw-r--r--fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp13
-rw-r--r--fuel-plugin/deployment_scripts/puppet/modules/.gitkeep0
2 files changed, 6 insertions, 7 deletions
diff --git a/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp b/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp
index 4c04aa0a6..a396e9472 100644
--- a/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp
+++ b/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp
@@ -1,16 +1,15 @@
-$kvm_settings = hiera('fuel-plugin-kvm')
+$fuel_settings = parseyaml(file('/etc/astute.yaml'))
if $operatingsystem == 'Ubuntu' {
- if $kvm_settings['use_kvm'] {
+ if $fuel_settings['fuel-plugin-kvm']['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,
+ } ->
+ exec {'reboot':
+ command => "reboot",
+ path => "/usr/bin:/usr/sbin:/bin:/sbin",
}
} else {
}
diff --git a/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep b/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
--- a/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep
+++ /dev/null