Extract reclass config from opts in wrapper
Extract reclass config from opts in wrapper

Salt's top interface is inconsistent with ext_pillar (see #5786) and one is
expected to extract the arguments to the master_tops plugin by parsing the
configuration file data. I therefore use this adapter to hide this internality.

I purposely do not pass any of __opts__ or __salt__ or __grains__ to reclass,
as I consider those to be Salt-internal and reclass should not make any
assumptions about it. Reclass only needs to know how it's configured, so we
only pass the extracted configuration.

Signed-off-by: martin f. krafft <acc3492a66a5949176a2fc8886cf441478ca46a1@madduck.net>

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt