On Oct 8, 2008, at 1:00 PM, 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"]
Files will automatically require their parent directories, if you're managing them, so you don't need to worry about setting up these relationships. -- I can't understand why a person will take a year to write a novel when he can easily buy one for a few dollars. -- Fred Allen --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---