Hi all,
I''m trying to fix #594[1], and it looks like the problem only occurs
when you specify other parameters (e.g., owner or mode).
That is, Puppet will not purge managed files, and when you specify
these parameters with ''recurse => true'', Puppet applies the
parameters to all files in the directory, which means that all
contained files are considered managed and thus not available for
purging.
This harkens back to many a thread we''ve had on how file copying is
"different" from other file operations, but we''ve never done
anything
about it.
The only thing I can think of at this point to solve this problem,
and it seems like an important one, is to special-case purging to say
that if you''ve got a remote copy going on, then purge anything that
isn''t on the remote server.
However, we really need to fix this systematically, so this kind of
problem doesn''t keep cropping up.
Any ideas?
1 -http://reductivelabs.com/trac/puppet/ticket/594
--
Barondes'' First Law:
Science abhors contradictions; scientists'' minds are replete with
them.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com