telmich/cdist — pull request #56 by asteven (2012-04-25 15:21:46+00:00)
Title: inherit dependencies from defining object when setting up implicit depen...

...dencies through autorequire

Fixes the following problem:

__package/a autorequire on __package_specific/a
__package/b autorequire on __package_specific/b
__package/b require on __package/a

is:
{'__package/a': [, ],
'__package/b': [,
,
,
],
'__package_pacman/a': [],
'__package_pacman/b': []}

The problem is that __package_pacman/a and __package_pacman/b have no relation.
But __package_pacman/b should depend on __package/a.

should:
{'__package/a': [, ],
'__package/b': [,
,
,
],
'__package_pacman/a': [],
'__package_pacman/b': [, , ]}

Signed-off-by: Steven Armstrong