-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trailing newline is added during encryption/decryption #272
Comments
encryption is fine. even decryption itself is fine, it's only in emitting the output that it unnecessary adds newline. see #270 |
A simpler example:
|
Hi folks, I'd like to add that this issue seems to only manifest in eyaml output mode string. If I use the block output (and the according syntax in hiera itself) the output is what you would expect. Might help to narrow down the issue. EDIT: well this somehow is obvious from the examples above because Cheers |
in my testing this is the same
|
Hiera eyaml 2.1.0 ensures there is a trailing newline when run from the command line.
This is inconsistent. It should either add the newline (
nonl\n
andyesnl\n\n
) or not add the newline (nonl
andyesnl\n
).Originally #264, though I got the title backward that time. Thanks to @bifek for finding a good test case.
The text was updated successfully, but these errors were encountered: