Browse Source

Escape hyphen in neutron_agent_sriov_numvfs regexp

Change-Id: I49998e3aa5c8d7b47c79764587594ee66c34bb24
(cherry picked from commit 5cff5cdfd5)
(cherry picked from commit c15b18bc6e)
changes/41/790841/1
Tobias Urdin 1 month ago
parent
commit
49ceae4f67
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/puppet/type/neutron_agent_sriov_numvfs.rb

+ 1
- 1
lib/puppet/type/neutron_agent_sriov_numvfs.rb View File

@ -4,7 +4,7 @@ Puppet::Type.newtype(:neutron_agent_sriov_numvfs) do
newparam(:name) do
desc "sriov_numvfs conf as <physical_network>:<number_of_vfs> format"
newvalues(/^[a-z0-9-_]+:[0-9]+$/)
newvalues(/^[a-z0-9\-_]+:[0-9]+$/)
end
end


Loading…
Cancel
Save