> 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[SUNWjet] ? > } >
Ok. I misunderstood how it would work initially. Your example is very helpful and I have a few places to try this out. WRT to JET. My installation first adds the SUNWjet (and related) packages and then my custom modules, scripts, templates get pulled from a directory called SUNWjet. Thanks. Derek. > } > -scott -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.