HomePhorge

(#9051) Move complex collect expression error into terminus.
a04051a48c24Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9051) Move complex collect expression error into terminus.

When the StoreConfig system was extracted from core to a set of termini, most
of the rules about permitted syntax were pushed down into the same place, to
allow them to also be replaced.

One set of restrictions were missed, the limitation that complex search
criteria (like and, or, or parenthetical expressions) were not permitted, and
remained in our parser.

Now, they live in the terminus, and we enforce them only there. This ensures
that StoreConfigs can be replaced with a back-end that supports complex
collection criteria without other changes to the Puppet core.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb4ea0862b130: Merge pull request #90 from nicklewis/fix-pidlock-removal-failure
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUa04051a48c24: (#9051) Move complex collect expression error into terminus. (authored by Daniel Pittman <daniel@puppetlabs.com>).Sep 8 2011, 11:22 PM