I would consider using file { "link_path": ensure => link} instead: its more idiomatic for puppet