Commit 9e551988 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Cast values to strings before writing to the tree

parent 51a534cd
......@@ -313,7 +313,7 @@ Puppet::Type.type(:augeasprovider).provide(:default) do
case type
when :string
if args[0]
aug.set(rpath, args[0])
aug.set(rpath, args[0].to_s)
elsif rm_node
aug.rm(rpath)
else
......
Markdown is supported
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