I’m attempting to create a bunch of symlinks based on an array of filenames but
I can’t figure out how to use the title of the resource within the resource
itself.
class app::config {
file { [ 'a.conf', 'b.conf' ]:
ensure => 'link',
path => "/etc/app/${name}",
target => "/usr/app/${name}
}
}
$name and $title both equal app::config in this example. Is what I’m trying to
do possible?
I’m running puppet 3.4.0.
Thanks,
Justin
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/8001F027-CAFA-440C-AF44-008153E7599E%40infiniteviewtech.com.
For more options, visit https://groups.google.com/groups/opt_out.