Use Hiera to load settings instead of parseyaml

Registered by Aleksandr Didenko

Superseded by granular deployment:
https://blueprints.launchpad.net/fuel/+spec/fuel-library-modularization

We should use Hiera instead of parseyaml($astute_settings_yaml) and osnailyfacter to load settings from /etc/astute.yaml. This would make it much easier for a community to understand and use it. It also provides an easy to use mechanism to override existing settings or add new ones for puppet manifests/modules.

Blueprint information

Status:
Complete
Approver:
Vladimir Kuklin
Priority:
Undefined
Drafter:
Aleksandr Didenko
Direction:
Needs approval
Assignee:
Aleksandr Didenko
Definition:
Superseded
Series goal:
None
Implementation:
Deferred
Milestone target:
milestone icon 6.1
Completed by
Aleksandr Didenko

Related branches

Sprints

Whiteboard

Benefits of using Hiera:
- Use community friendly mechanism to pass settings from astute.yaml into Puppet modules which also provides a flexible way to override particular/needed settings.
- Add possibility to use Hiera as configuration data for Puppet modules.

============
Code reviews

Additional info could be found here:
https://etherpad.openstack.org/p/fuel_hiera

Gerrit topic: https://review.openstack.org/#q,topic:bp/replace-parseyaml-with-hiera,n,z

Addressed by: https://review.openstack.org/126559
    Add hiera.yaml config

Addressed by: https://review.openstack.org/126561
    Configure hiera on master node

(?)

Work Items

Work items:
Write blueprint in Fuel Spec format: TODO
Update documentation: TODO
Configure hiera on OS nodes: INPROGRESS
Configure hiera on Fuel master node: INPROGRESS
Create new module/class that will use Hiera: TODO
Migrate fuel_settings to hiera(): TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.