On 3/9/09, Trevor Hemsley <trevor.hems...@codefarm.com> wrote: > > I always prefer the syntax > > file {"/var/puppet": > ensure => symlink, > target => "/var/lib/puppet" > } >
++ I find the other syntax to be really confusing as it's quite a different value type for the ensure parameter compared to all the other uses of the file type. > as it seems to me to be more accurate in describing what I want it to > do. It should achieve the same thing though. > > Steve Wray wrote: >> Based on the documentation I had thought that this: >> >> file { "/var/puppet": >> ensure => "/var/lib/puppet" >> } >> >> >> should create a symlink /var/puppet which points to the directory >> /var/lib/puppet >> >> It doesn't seem to be working :-/ >> >> Any ideas? >> >> Thanks! >> >> >> > > -- > > Trevor Hemsley > Infrastructure Engineer > ................................................. > * C A L Y P S O > * 4th Floor, Tower Point, > 44 North Road, > Brighton, BN1 1YR, UK > > OFFICE +44 (0) 1273 666 350 > FAX +44 (0) 1273 666 351 > > ................................................. > www.calypso.com > > This electronic-mail might contain confidential information intended > only for the use by the entity named. If the reader of this message is > not the intended recipient, the reader is hereby notified that any > dissemination, distribution or copying is strictly prohibited. > > * P * /*/ Please consider the environment before printing this e-mail /*/ > > > > > -- Nigel Kersten Systems Administrator Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---