HomePhorge

(PUP-2906) Reimplement collection evaluation
95b738e1e369Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2906) Reimplement collection evaluation

Since collection currently relies on the 3x AST, it must be
reimplemented in such a way that it does not rely on the old parser.
That way, we won't break collection with the old parser is removed
for the 4x series.

Take the first steps towards doing this by reimplementing evaluation
for collections so that it no longer relies on
Puppet::Parser::AST::Collection or Puppet::Parser::AST::CollExpr.

Additionally, make a small change to resource/file/content.rb so
that it uses dup instead of clone. This is necessary to prevent
trying to modify a frozen String.

Details

Provenance
Hailee Kenney <hailee@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1cf6519728cd: Merge pull request #3289 from rji/maint/stable/acceptance-sshkey
Branches
Unknown
Tags
Unknown

Event Timeline

Hailee Kenney <hailee@puppetlabs.com> committed rPU95b738e1e369: (PUP-2906) Reimplement collection evaluation (authored by Hailee Kenney <hailee@puppetlabs.com>).Nov 7 2014, 8:41 PM