On Feb 6, 2009, at 4:23 AM, Mark Drayton wrote:

> This is a bit nasty -- I'd need to figure out a way to make the exec
> only run once or each Puppet run will clobber my overridden files and
> then replace them again. If I do work out how to make it only run once
> Puppet won't update the instances if the contents of the shared
> directory change, or if I fat-fingeredly remove a non-managed file
> from /opt/idol7/Instance/langfiles.
>
> So, any ideas? How can I do this cleanly? And thanks for reading this
> far!


It seems like you're making this too complicated.  Can't you just set  
'links => manage' on the file, and have your file copy replace the  
symlink?

That certainly *should* work.

-- 
Is life worth living? That is a question for an embryo, not a man.
     --Samuel Butler
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
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