(#9805) Ensure tempfiles do not get garbage collected
(#9805) Ensure tempfiles do not get garbage collected

Previously, the actual reference was not being saved so
it could be garbage collected.

Now, the tempfile references are assigned to an instance
variables so that they do not get garbage collected.

16nsk/puppetlabs-cloud_provisioner,puppetlabs/puppetlabs-cloud_provisioner,puppetlabs/puppetlabs-cloud_provisioner,amos6224/puppetlabs-cloud-provisioner