18 lines
625 B
Puppet
18 lines
625 B
Puppet
$fuel_settings = parseyaml(file('/etc/compute.yaml'))
|
|
if $operatingsystem == 'Ubuntu' {
|
|
if $fuel_settings['fuel-plugin-qemu']['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' {
|
|
}
|