HomePhorge

(PUP-914) Use resource ref when writing dot files
4e7bd5c17288Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-914) Use resource ref when writing dot files

Use the ref attribute of a resource instead of to_s.

Internally, Puppet uses the ref attribute to identify and locate resources
within a catalog. This patch makes use of ref to identify nodes in graphviz
output as some Types, notably Whit, override to_s and either destroy or
obscure the identity of resource nodes.

Details

Provenance
Charlie Sharpsteen <source@sharpsteen.net>Authored on
Charlie Sharpsteen <chuck@puppetlabs.com>Committed on Nov 26 2014, 5:47 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0a60255e560d: Merge pull request #3344 from senior/ticket/stable/pup-3701-empty-resource…
Branches
Unknown
Tags
Unknown

Event Timeline

Charlie Sharpsteen <chuck@puppetlabs.com> committed rPU4e7bd5c17288: (PUP-914) Use resource ref when writing dot files (authored by Charlie Sharpsteen <source@sharpsteen.net>).Nov 26 2014, 5:47 PM