Ask Your Question

Block Ordering in 3.2.x 'Future Parser'

asked 2013-07-03 11:01:14 -0600

dfinn gravatar image

I have been trying to figure this out by looking through the docs, but I haven't found anything.

The "future parser" included in 3.2.x includes (experimental) support for blocks/lambdas. How is ordering affected inside these blocks? Inside the blocks are all expressions ordered sequentially?

I have a fairly large deployment (node count and software scope) that requires a fairly sequential install/update. We have been using chaining and collectors to define the sequence, which is okay at best. The optimal solution would be to have a set sequence that did not propagate errors through the chain ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-09 16:48:13 -0600

llowder gravatar image

The blocks and lambdas are evaluated in a parse order dependent manner - that is to say, a sequential, top down manner.

So that should make them suitable for the use case you mentioned.

However, I would like to re-iterate that this is an experimental feature, and there could be significant changes to it before it makes it into the stable part of Puppet.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-07-03 11:01:14 -0600

Seen: 143 times

Last updated: Dec 09 '13