for debug you can use debug(output)and see it in puppet log with debug
or (but I understand why) save it 
```ruby 
File.open(target, "w+") do |f|
  f.write(content)
end