Thanks.
On Wed, Mar 21, 2012 at 10:04 AM, Christopher Wood
wrote:
> $ cat /tmp/symlink.pp
> file { '/tmp/link_to_zz':
> ensure => link,
> target => 'zz',
> }
> $ puppet /tmp/symlink.pp
> notice: /Stage[main]//File[/tmp/link_to_zz]/ensure: created
> $ ls -l /tmp/link_to_zz
> lrwxrwxrwx 1 cwood c
$ cat /tmp/symlink.pp
file { '/tmp/link_to_zz':
ensure => link,
target => 'zz',
}
$ puppet /tmp/symlink.pp
notice: /Stage[main]//File[/tmp/link_to_zz]/ensure: created
$ ls -l /tmp/link_to_zz
lrwxrwxrwx 1 cwood cwood 2 Mar 21 13:03 /tmp/link_to_zz -> zz
(ln target linkname)
On Wed, Mar 21,
Is there any way to get relative symlinks in puppet?
This:
file {
"tomcat-current":
#"/opt/foo/apache-tomcat-current":
ensure => link,
target => "/opt/foo/apache-tomcat-${tomcat_version}";
}
yields:
Wed Mar 21 09:58:05 -0700 2012 Puppet (err): Fai