HomePhorge

(PUP-1892) File resources do not work with fileservers that are not the…
89b8ac123703Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1892) File resources do not work with fileservers that are not the current puppetmaster.

the source parameter makes the 'uri' method private; assumably for security, the actual result is that
noone can get the full URI from the source param. The end result is that when collecting the source data
the file_content class uses full_path instead, which gets magically completed to use the puppetmaster.

If your fileserver is in fact some other remote host, that data is lost. This change makes 'uri' public
and adjusts the content handler so that it properly delivers either a URI as a string, or a
full path without leading slash (which is what the previous state was.)

Details

Provenance
Tristan Smith <tsmith@palantir.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUbd697a5ce13a: Merge pull request #2418 from hlindberg/pup-30_puppet-templates
Branches
Unknown
Tags
Unknown

Event Timeline

Tristan Smith <tsmith@palantir.com> committed rPU89b8ac123703: (PUP-1892) File resources do not work with fileservers that are not the… (authored by Tristan Smith <tsmith@palantir.com>).Mar 26 2014, 9:25 PM