puppetlabs/puppetdb — pull request #303 by cprice-puppet (2012-10-02 18:46:15+00:00)
Title: Bug/master/16407 file trailing slashes

commit af6da2c3f76b18ef59524b7aafd3d8fee90dbeae
Author: Chris Price
Date: Tue Oct 2 11:36:55 2012 -0700

(#16407) Handle trailing slashes when creating edges for file resources

This commit adds a few more tests for specifying relationships
to File resources with a different number of trailing slashes
than the resource was originally declared with.

It also adds a special-case to the logic for synthesizing
edges to file resources, to munge off the trailing slashes and
look up the file resources in the catalog via their canonical
title.

commit 4133efeecbfa1a500305d18db94c30576f226fb7
Author: Nick Lewis
Date: Thu Sep 20 13:40:34 2012 -0700

Initial tests and possible fix for file resource relationships

These are some initial tests that Nick wrote to demonstrate the
bug where we were failing to create relationships (edges) to
File resources if the relationship was specified with a different
number of trailing slashes in the title than the title of the
original resource. (Commit message edited by cprice.)