-
Type:
Bug
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: PUP 3.4.0, PUP 3.7.3
-
Fix Version/s: PUP 5.0.0
-
Component/s: Catalog Application
-
Template:customfield_10700 23700
-
Acceptance Criteria:
- "--show_diff" does not error on files with UTF-8 content
-
Epic Link:
-
Team:Agent
-
Story Points:3
-
CS Priority:Reviewed
-
Release Notes:Bug Fix
-
Release Notes Summary:see
PUP-7063for release notes for this issue
Run puppet apply with a manifest with a file block which uses a source which contains UTF-8 text.
Works as expected normally, however if the --show-diff flag is passed then it bails out with an error such as:
Error: /Stage[main]/Users::Bobtfish/File[/home/bobtfish/.gitconfig]/content: change from
{md5}8134292fa03d49e18941395afa85904e to {md5}3fb27c4b9babe9f7808916e49bce3dbb failed: "\xE2" from ASCII-8BIT to UTF-8
Note - this only happens when there are differences to be applied (i.e. when there are diffs to show)