Displaying 1 result from an estimated 1 matches for "mount_base".
2010 Nov 16
3
Can't do a nested define. What are my options?
...;'goose'']
File { owner => ''root'', group => ''root'', mode => ''0755'', ensure =>
directory }
define outter () {
file { "/mnt/$sys_name": }
define inner () {
file {"$mount_base/$mounts":}
}
inner { $mounts }
}
outter { $sys_name: }
So basically create directories from a dynamic array inside
directories created from a dynamic array.
Any way to do this in a simple way?
--
You received this message because you are subscribed to the Google...