> You could do:
>
> define solaris::media($ensure = "present") {
> file { "solaris_media_${name}":
> path => "/opt/SUNWjet/etc/$name",
> content => template("jumpstart/${name}.erb"),
> ensure => $ensure,
> require => File[SUNWjet] # don't you mean Package[S
deet wrote:
> Thanks Scott.
> Sounds like I'll stick with what I'm doing as it seems the defines
> won't save me much work.
> Thanks again for the quick reply.
>
You could do:
define solaris::media($ensure = "present") {
file { "solaris_media_${name}":
path => "/opt/SUNWjet/e
> To answer your question: Yes, you can. You're looking for either the $name or
> $title variable (by
> default they are both the same).
>
Thanks Scott.
Sounds like I'll stick with what I'm doing as it seems the defines
won't save me much work.
Thanks again for the quick reply.
Happy