Commit 8e86b914 authored by Alex Tayts's avatar Alex Tayts
Browse files

fix a problem if file mode has a leading zero

parent b07f6131
......@@ -109,7 +109,7 @@ Puppet::Type.newtype(:wallet) do
case value
when String
if value =~ /^[-0-9]+$/
value = Integer(value)
value = value.to_i
end
end
......
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