Puppet unable to modify ISO format files

asked 2018-03-07 05:26:50 -0500

rajeevsharma gravatar image

Scenario: we are managing few legacy applications using puppet. Where the properties file are in ISO-8859 format on which puppet is unable to perform any modification and throws error. E,g. while trying file_line to update value of any property. Though it works fine if the same file content is in UTF-8 format. I have tried puppet template to manage the same file and it changes the format to UTF-8. I'm not sure whether it will impact application execution.

Question: Can we modify the existing file (ISO format) using puppet by retaining the same format?

edit retag flag offensive close merge delete