Make fact delegating configurable, defaulting to 1.x behavior

This commit is contained in:
James Cammarata 2015-12-08 14:00:17 -05:00
parent 7ffd578a9d
commit de690445bc
5 changed files with 6 additions and 2 deletions

View file

@ -34,6 +34,7 @@ class Block(Base, Become, Conditional, Taggable):
_rescue = FieldAttribute(isa='list', default=[])
_always = FieldAttribute(isa='list', default=[])
_delegate_to = FieldAttribute(isa='list')
_delegate_facts = FieldAttribute(isa='bool', defalt=False)
# for future consideration? this would be functionally
# similar to the 'else' clause for exceptions