[prev in list] [next in list] [prev in thread] [next in thread]
List: puppet-users
Subject: Re: [Puppet-users] Directory of symlinsk
From: Luke Kanies <luke () madstop ! com>
Date: 2007-07-31 23:53:58
Message-ID: 1DBB2096-AFA9-49E1-972C-8C6E300865D9 () madstop ! com
[Download RAW message or body]
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
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic