While working on https://gerrit.wikimedia.org/r/#/c/354449 several comments were made to improve the hiera lookup logic in the Puppet Hadoop codebase.
This task should focus on:
- remove indirect hiera lookups, namely the ones happening not directly in a role but in another one that it is included. There are several FIXME comments in puppet after https://gerrit.wikimedia.org/r/#/c/354449, really easy to spot examples.
- move to profiles/roles, and possibly strive for having a single role for each host in site.pp.