HomePhorge

(#12412) Refactor puppet_resource('host')
1d1f68791a6eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12412) Refactor puppet_resource('host')

Previously, the host tests were creating files in '/tmp' and failing
on Windows.

This commit changes them to use agent.tmpfile instead. Most of the
changes are a result of not being able to call TestCase#on with an
array of agents, and instead iterating over each one in an outer loop
(so that context-dependent tmpfiles can be created).

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU612f945d1e7b: (#12412) Refactor puppet_resource('tidy')
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU1d1f68791a6e: (#12412) Refactor puppet_resource('host') (authored by Josh Cooper <josh@puppetlabs.com>).Feb 6 2012, 6:41 PM