1 2 3 4 5 6 7 8 9 10 11 |
(:source_exists, :type => :rvalue) do |args| dist = args[0] file = args[1] path = "/var/lib/puppet/dist/" + dist + file File(path) end ruby -rpuppet source_exists source_exists:8: syntax error, unexpected $end, expecting kEND |

