X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=fuel-plugin%2Fdeployment_scripts%2Fpuppet%2Fmanifests%2Fkvm-install.pp;h=a396e9472e751b5980c940a75e179ece24d7e585;hb=2cccaa64cb132b6c79d0acf0b7bf331a7f1adfe1;hp=4c04aa0a688b7598c9630d1fff7efa0947785aa0;hpb=68463055b0a8d8a577fd111a94eb1c7eee1c4eef;p=kvmfornfv.git 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 { }