Cfengine 3 example unit_translatepath.html

body common control { bundlesequence => { "test" }; } ############################## bundle agent test { vars: "inputs_dir" string => translatepath("$(sys.workdir)/inputs"); reports: windows:: "The path has backslashes: $(inputs_dir)"; !windows:: "The path has slashes: $(inputs_dir)"; } }