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)
* compute (installs nova-compute)
* client (installs nova resources like flavors, keypairs,
availability-zones etc.)
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 nova config file templates to import
only role specific data from map file.
Related-Prod: PROD-16464
Change-Id: I3ca78a765cad4bfe1a72b95c3a753c1f278c143b
9 files changed