Re: [Puppet Users] Creating files from array?

2012-11-17 Thread Jakov Sosic
On 11/17/2012 03:51 AM, Steven Nemetz wrote: Change your yaml file to: files: - a - b - c You can write it like this too: files: - a - b ... No need for that specific newline. I don't know if it's correct but it works. Then puppet will read it in as an array. Pass the a

RE: [Puppet Users] Creating files from array?

2012-11-16 Thread Steven Nemetz
Change your yaml file to: files: - a - b - c Then puppet will read it in as an array. Pass the array to a define and the define will run once for each element of the array Steven > Date: Sat, 17 Nov 2012 03:27:20 +0100 > From: jso...@srce.hr > To: puppet-users@googlegroups.com > Subject: [P