Hi Klaus,
why not simply manage the file using puppet (file { "/to/my/file" :
ensure
=> present, content => "..." }) ? Puppet actually makes sure the
file''s
contents are always constant.
HTH,
Axel.
Am Dienstag, 9. Oktober 2012 14:08:52 UTC+2 schrieb Klaus
Ethgen:>
> Hello,
>
> is it possible to replace a file on the system if a md5/sha1 sum
> matches? For fixing a bug I want to replace a buggy file if it is the
> buggy version checked by checksum.
>
> Maybe its trivial, but I do not see a solution.
>
> -- Klaus Ethgen
> --
> Klaus Ethgen http://www.ethgen.ch/
> pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.de>
> Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/1XCELGchomcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.