On 11 March 2011 20:57, Stefan Schulte <stefan.schu...@taunusstein.net>wrote:

> On Fri, Mar 11, 2011 at 03:20:20PM +1100, John Warburton wrote:
> > file {"/path/created/by/some/package/link":
> >     source => "/path/created/by/some/package/source",
> >     require => Package["somepackage"],
> > }
> >
>
> Currently you're copying a file from source to link. If you want to
> create a symlink do:
>
> file { '/path/created/by/some/package/link':
>  target  => "/path/created/by/some/package/source",
>  ensure  => link,
>  require => Package["somepackage"],
> }
>
> Oh duh, thanks Stefan - couldn't see the wood for the trees!

John

-- 
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 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to