aboutsummaryrefslogtreecommitdiffstats
path: root/lib/puppet/type/sriov_vf_config.rb
blob: 09a3671d10a34c33078c2bbca634ef01c95b8ca1 (plain)
1
2
3
4
5
6
7
8
9
10
Puppet::Type.newtype(:sriov_vf_config) do

  ensurable

  newparam(:name) do
    desc "sriov_numvfs conf as <physical_network>:<number_of_vfs> format"
    newvalues(/^[a-z0-9\-_]+:[0-9]+$/)
  end

end