c1e14c9412
Rely on fuel allocate_hugepages task and use dpdk init script only for mounting hugepages. Change-Id: Id561effae09aca21d82868424f61794e8fb03c32 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
18 lines
636 B
Puppet
18 lines
636 B
Puppet
# get options
|
|
$master_ip = hiera('master_ip')
|
|
$ovs_settings = hiera('fuel-plugin-ovs')
|
|
$dpdk = hiera('dpdk')
|
|
|
|
$install_nsh = $ovs_settings['install_nsh']
|
|
$install_dpdk = $ovs_settings['install_dpdk']
|
|
$ovs_socket_mem = join(pick($dpdk['ovs_socket_mem'], []), ',')
|
|
|
|
|
|
if $operatingsystem == 'Ubuntu' {
|
|
exec { 'install ovs_nsh_dpdk':
|
|
command => "curl http://${master_ip}:8080/plugins/fuel-plugin-ovs-0.9/deployment_scripts/install.sh | bash -s ${master_ip} ${install_nsh} ${install_dpdk} ${ovs_socket_mem}",
|
|
path => "/usr/bin:/usr/sbin:/bin:/sbin",
|
|
}
|
|
} elsif $operatingsystem == 'CentOS' {
|
|
}
|