Puppet Function: extlib::file_separator
- Defined in:
- functions/file_separator.pp
- Function type:
- Puppet Language
Summary
Returns the os specific file path separator.Overview
5 6 7 |
# File 'functions/file_separator.pp', line 5
function extlib::file_separator() >> String {
($::facts['kernel'] == 'windows' ) ? { true => "\\", false => '/' }
}
|