Issue #14542 has been updated by Daniel Pittman.
Status changed from Needs Decision to Rejected
Hailee Kenney wrote:
> Should we add a fact that tells what the end of line character is? Or is it
> implicit based on operating system? If we create this as a fact, we'll need
> to make sure we explicitly use the `preserve_whitespace` feature.
It is kind of implicit based on the operating system, and the software you are
using. I don't think a fact is a good way to deal with this - not least
because using it would be kind of awkward:
<pre>
[whatever]${endofline}foo=bar${endofline}baz=quux${endofline}
</pre>
At the least, in the current form it isn't going to be acceptable - though,
obviously, it can go in a module to make it available if folks do need it.
If someone has a compelling use-case for this we can revisit the decision, but
mostly I think it isn't a good bet.
----------------------------------------
Feature #14542: newfact: endofline
https://projects.puppetlabs.com/issues/14542#change-63144
Author: Matthew Leather
Status: Rejected
Priority: Normal
Assignee: Daniel Pittman
Category:
Target version:
Keywords:
Branch:
Affected Facter version:
The end of line string on this machine.
Windows is "\r\n" etc
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.