Fix some trivial typos in puppet code

This change fixes some typos in puppet code (apart from
parameter descriptions and/or comments) which might affect
module functionality.

Conflicts:
      manifests/quota/sfc.pp

Resolved conflicts by removing manifests/quota/sfc.pp module
contents, as it was not there in previous releases.

Change-Id: I3f310ee89b99078582b174c2c288a53cac47e5ed
(cherry picked from commit bd55507a5b)
This commit is contained in:
Rajesh Tailor 2022-06-27 18:16:41 +05:30
parent 69aee692c0
commit 5b6d1a6a45
2 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ Puppet::Type.type(:neutron_port).provide(
end
if @property_flush.has_key?(:availability_zone_hint)
opts << "--avialability-zone-hint=#{@property_flush[:availability_zone_hint]}"
opts << "--availability-zone-hint=#{@property_flush[:availability_zone_hint]}"
end
self.class.request('port', 'set', opts)

View File

@ -172,8 +172,8 @@ class neutron::plugins::ovs::opendaylight (
$odl_ip = regsubst($ovsdb_uri, 'ssl:(.+):[0-9]+', '\1')
$odl_url_prefix = "https://${odl_ip}:${odl_rest_port}"
$cert_rest_url = "${odl_url_prefix}/restconf/operations/aaa-cert-rpc:setNodeCertifcate"
$cert_rest_get = "${odl_url_prefix}/restconf/operations/aaa-cert-rpc:getNodeCertifcate"
$cert_rest_url = "${odl_url_prefix}/restconf/operations/aaa-cert-rpc:setNodeCertificate"
$cert_rest_get = "${odl_url_prefix}/restconf/operations/aaa-cert-rpc:getNodeCertificate"
exec { "Add trusted cert: ${tls_cert_file} to ${odl_url_prefix}":
command => "${curl_post} -u ${odl_username}:${odl_password} -d '${rest_data}' ${cert_rest_url}",
tries => 5,