Commit 1601ef80 authored by Alex Tayts's avatar Alex Tayts
Browse files

Revert "add validation to namevar"

This reverts commit 2153c249.
parent 2153c249
......@@ -13,12 +13,6 @@ Puppet::Type.newtype(:wallet) do
newparam(:name) do
desc "Wallet object to download"
isrequired
validate do |value|
unless /^(host|service|webauth|smtp|pop|postgres|nfs|lpr|ldap|imap|ftp|cifs|afpserver|HTTP)\/[0-9a-zA-Z\.\-]+$/.match(value)
raise Puppet::Error, "Principal name #{value} is invalid."
end
end
end
newparam(:path) do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment