Sorry, that should be app_dirs { $apps: }
On Tuesday, January 8, 2013 12:59:49 PM UTC-7, joe wrote:
>
> Create a defined type and call it with the array of app names:
>
> define app_dirs {
>
> file {"/some/where/${title}/foo":
> mode => '0644'
> }
>
> file {"/some/where/${title}/bar":
>
Create a defined type and call it with the array of app names:
define app_dirs {
file {"/some/where/${title}/foo":
mode => '0644'
}
file {"/some/where/${title}/bar":
mode => '0644',
}
}
app_dirs { apps: }
On Tuesday, January 8, 2013 12:18:49 PM UTC-7, Stefan Wiederoder wrote:
>