Refactor map file to import role data only
The smallest piece of salt formula is state. In our formulas each
state is an abstraction of 'role' for example:
* controller (installs api services)
* volume (installs cinder-volume)
* client (installs cinder resources like volumes, snapshots)
Each state have its own API (the format of pillar it accepts). We would
like to keep pillar data unified and in long term automatically
validated. By importing anything non role-specific makes
unification/automatic validation hard to maintain.
This patch refactor map.jinja and cinder config file templates to import
only role specific data from map file.
Change-Id: I3550c27abb4dfa28743cc83a872b6101c2958e93
Related-Prod: PROD-16497
9 files changed