HomePhorge

(#6710) Support relationships for resources defined by other constructs
132dca4c894aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6710) Support relationships for resources defined by other constructs

This adds support for using a variable, resource ref-like string, case
statement, selector, or array/hash access for either side of a
relationship. For example, it is now legal (if unwise) to write the
following:

notify { [a,b,c]: }
$var = Notify[a]
$var -> case 'x' {
  'x': {
    notify { d: }
  }
} ~>
'x' ? {
  'x' => Notify[b]
} <- "Notify[c]"

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU982564ece58b: (#6710) Support relationship arrows between resource refs with title arrays
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU132dca4c894a: (#6710) Support relationships for resources defined by other constructs (authored by Nick Lewis <nick@puppetlabs.com>).Dec 13 2011, 11:59 PM