Jeff wrote: > Thanks all. > > One question: How do I reference the last directory in the array in a > require statement? > > If I do this: > > file {["$basedir", "$basedir/src", "$basedir/src/my", > "$basedir/src/my/dir", "$basedir/src/my/dir/path" ]: > > Can I do this: > > require => File["$basedir/src/my/dir/path"] > Yup, like I said the array stuff is just syntax. You are still managing individual file resources. > TIA, > Jeff > > >
-- What is now proved was once only imagin'd. -- William Blake Teyo Tyree ::: http://reductivelabs.com ::: +1.615.275.5066 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---