Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
------manifest-----------
node myserver { include test }

class test {
    file{"/tmp/file1": contents=>"hello world"}
    file{"/tmp/file2": contents=>template("file2.erb")}
}


------file2.erb-----------
hello world
<% puts "this is ruby writing some contents to this file" %>