Validate namevar in type

In order to provider better error messages on failure.
This commit is contained in:
Dan Bode 2012-10-26 11:19:50 -07:00
parent 0b08f46eab
commit b2f86a0344
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Puppet::Type.newtype(:keystone_endpoint) do
ensurable
newparam(:name, :namevar => true) do
newvalues(/\S+/)
newvalues(/\S+\/\S+/)
end
newproperty(:id) do