Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: If7634f12d8cd965784791f60515e8b16532ec1e3 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -125,7 +125,6 @@ class vswitch::dpdk (
|
|||||||
Hash $vs_config = {},
|
Hash $vs_config = {},
|
||||||
Boolean $skip_restart = false,
|
Boolean $skip_restart = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$restart = !$skip_restart
|
$restart = !$skip_restart
|
||||||
|
|
||||||
kmod::load { 'vfio-pci': }
|
kmod::load { 'vfio-pci': }
|
||||||
@@ -258,7 +257,6 @@ class vswitch::dpdk (
|
|||||||
wait => false,
|
wait => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
vs_config {
|
vs_config {
|
||||||
'other_config:pmd-auto-lb': ensure => absent, wait => false;
|
'other_config:pmd-auto-lb': ensure => absent, wait => false;
|
||||||
@@ -291,5 +289,4 @@ class vswitch::dpdk (
|
|||||||
|
|
||||||
create_resources('vs_config', $dpdk_configs, $dpdk_dependencies)
|
create_resources('vs_config', $dpdk_configs, $dpdk_dependencies)
|
||||||
create_resources('vs_config', $vs_config)
|
create_resources('vs_config', $vs_config)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ class vswitch::ovs(
|
|||||||
Hash $vs_config = {},
|
Hash $vs_config = {},
|
||||||
Boolean $skip_restart = false,
|
Boolean $skip_restart = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$restart = !$skip_restart
|
$restart = !$skip_restart
|
||||||
|
|
||||||
if $enable_hw_offload {
|
if $enable_hw_offload {
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
# Initialize CA authority
|
# Initialize CA authority
|
||||||
#
|
#
|
||||||
class vswitch::pki::cacert {
|
class vswitch::pki::cacert {
|
||||||
|
|
||||||
exec { 'ovs-pki-init-ca-authority':
|
exec { 'ovs-pki-init-ca-authority':
|
||||||
command => ['ovs-pki', 'init', '--force'],
|
command => ['ovs-pki', 'init', '--force'],
|
||||||
creates => '/var/lib/openvswitch/pki/switchca',
|
creates => '/var/lib/openvswitch/pki/switchca',
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
define vswitch::pki::cert (
|
define vswitch::pki::cert (
|
||||||
Stdlib::Absolutepath $cert_dir = '/etc/openvswitch',
|
Stdlib::Absolutepath $cert_dir = '/etc/openvswitch',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
exec { "ovs-req-and-sign-cert-${name}":
|
exec { "ovs-req-and-sign-cert-${name}":
|
||||||
command => ['ovs-pki', 'req+sign', $name],
|
command => ['ovs-pki', 'req+sign', $name],
|
||||||
cwd => $cert_dir,
|
cwd => $cert_dir,
|
||||||
|
|||||||
Reference in New Issue
Block a user