Jason L Tibbitts III wrote:
Not being in the right group to give plusses to anything, I do have
a question: is it in general OK for a puppet-managed file to
overwrite an rpm-managed file in this manner? viewvc does not seem
to have a mechanism for files in some config-friendly location to
override the ones in /usr/share.
It's definitely something I use puppet for quite a bit. It is
unfortunate that the header template doesn't seem to be one of the
ones that can be configured in the viewvc.conf file. Perhaps there's
a cleaner way to achieve this, though I don't know what that is.
One nice thing is that when puppet overwrites a file, it will back up
the file it replaces and log it. So if we ever updated viewvc and
needed to pull in changes from the new header template, we could pull
that out of the filebucket and merge the changes back. (Not that any
of us here couldn't do that as easily by extracting the file from the
new rpm as well, of course. :)
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Does it follow that I reject all authority? Perish the thought. In the
matter of boots, I defer to the authority of the boot-maker.
-- Mikhail Bakunin