HomePhorge

(#12412) Use host-specific methods for generating tmp file/dir
dce3d58e4d04Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12412) Use host-specific methods for generating tmp file/dir

Previously, each test case was hard-coding the path of its
tmpfile/dir, and then passing the posix style path to puppet,
e.g. puppet resource file path, which won't work on Windows.

This commit changes the tests to use the tmpfile/tmpdir method on the
Host instance, and converts the tests from on agents style to
agent.each do |agent|.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU75d484e5845f: (#12412) Warn when running hostname -f on Windows agents
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUdce3d58e4d04: (#12412) Use host-specific methods for generating tmp file/dir (authored by Josh Cooper <josh@puppetlabs.com>).Feb 6 2012, 6:41 PM