Re: [Puppet Users] file_line type issue, possible bug

Jeff McCune
Mon, 11 Jun 2012 03:54:14 -0000

On Sun, Jun 10, 2012 at 12:43 PM, Ryan Bowlby <rbowlby83@gmail.com>
wrote:
> Thanks Jeff, I''ll heed that advice. Wouldn''t it make
sense though to have
> the file resource "respect" changes made by file_line. Behind the
scenes, if
> the file resource were able to know about the file_line additions and could
> remove them before calculating the md5 then both can be used on the same
> file. The current conflict doesn''t have to be a conflict, I
assumed puppet
> did this already.

It totally makes sense, it''s just a bit difficult to implement.  At
least the implementations I''m imagining are.  Surely there''s a
simple
solution, I''m just not seeing it right now.

We only recently built the next generation of our persistent storage
system, but I''m not sure it''s ready to store things like
partial
resource attributes.  I''ll ask them tomorrow.

-Jeff