Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
file.recurse fails on file contents encoding not utf-8 #48777
Description of Issue/Question
Trying to distribute files with contents encoded in ISO-8859-1. However salt assumes systemdefault
One saltmaster on Cent OS 7. One minion on Cent OS 7.
state file foo.sls:
Steps to Reproduce Issue
Populate directory foo using fileone.tar (plain ascii I believe).
i'm having a hard time replicating this:
is 2018.3.2 the version of your minion and master?
Sorry, I missed a crucial step: The foo directory should be populated with the content of the tar file, not the tar file itself. The tar files contains a file index.html and the objective is to replace it on the minion.
And yes the version should be identical on both server and minion in my set up. Version report above is from server and from minion is:
k looks like i'm able to replicate this now :)
Here is a docker container to easily replicate the issue: