Puppet Function: ssh::fix_eol
- Defined in:
- functions/fix_eol.pp
- Function type:
- Puppet Language
Overview
Ensure line endings are correct for the current platform.
6 7 8 9 10 11 12 |
# File 'functions/fix_eol.pp', line 6
function ssh::fix_eol ( String $value ) >> String {
if $ssh::params::dos_line_endings {
unix2dos($value)
} else {
dos2unix($value)
}
}
|