On Thu, 24 Apr 2014 18:41:05 +0200
José Luis Ledesma <[email protected]> wrote:

> Idk if i did understand correctly, but there is the replace parameter
> in the file resource that may help here.

I think you've missed the important bit, like I did initially : The
"replace" parameter set to false will have puppet *never* touch the
file once it's created. What the OP wants it to have puppet keep
updating the file *until it's modified locally*, at which point it
should stop.

Tricky. I can't think of any simple and clean solution from the top of
my head, though I do understand why one would want to do that... I
could actually use that behaviour for the initial ~/.gitconfig files I
create for system users, for example.

Matthias

-- 
            Matthias Saou                  ██          ██
                                             ██      ██
Web: http://matthias.saou.eu/              ██████████████
Mail/XMPP:  [email protected]             ████  ██████  ████
                                       ██████████████████████
GPG: 4096R/E755CC63                    ██  ██████████████  ██
     8D91 7E2E F048 9C9C 46AF          ██  ██          ██  ██
     21A9 7A51 7B82 E755 CC63                ████  ████

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20140424192135.33eb26e7%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to