On Jul 31, 2007, at 5:26 PM, Ian Burrell wrote:
> How would I make a file resource that produces a directory of symlinks
> pointing to all the files in another directory? I know how to do it
> with "cp -s" or "ln -s" commands but doing it with file
resource would
> be better.
You should be able to do recursive linking:
file { "/my/link": ensure => "/target", recurse =>
true }
--
Someday I want to be rich. Some people get so rich they lose all
respect for humanity. That''s how rich I want to be. --Rita Rudner
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com