tripleo-heat-templates/puppet
Dan Prince 7876851011 Hiera optimization: use a new hiera hook
This patch optimizes how we deploy hiera by using a new
heat hook specifically designed to help compose hiera
within heat templates. As part of this change:

 - we update all the 'hiera' software configurations to set the group to hiera
   instead of os-apply-config.

 - The new format uses JSON instead of YAML. The hook actually writes
   out the hiera JSON directly so no conversion takes place. Arrays,
   Strings, Booleans all stay in their native formats. As such we can avoid
   having to do many of the awkward string and list conversions in t-h-t to
   support the previous YAML formatting.

 - The new hook prefers JSON over YAML so upgrading users will have the
   new files prefered. (we will post a cleanup routine for the old files
   soon but this isn't a new behavior, JSON is now simply prefered.)

 - A lot of services required edits to account for default settings that
   worked in YAML that no longer work correctly in the native JSON
   format. In almost all these cases I think the resulting codes looks
   cleaner and is more explicit with regards to what is getting
   configured in hiera on the actual nodes.

Depends-On: I6a383b1ad4ec29458569763bd3f56fd3f2bd726b
Closes-bug: #1596373

Change-Id: Ibe7e2044e200e2c947223286fdf4fd5bcf98c2e1
2016-11-30 22:16:13 -05:00
..
extraconfig Merge "Use netapp_host_type instead of netapp_eseries_host_type" 2016-10-04 11:00:47 +00:00
manifests Replace per role manifests with a common role manifest 2016-09-30 14:11:01 +00:00
services Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
all-nodes-config.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
blockstorage-role.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
cephstorage-role.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
compute-role.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
config.role.j2.yaml Containerized Services for Composable Roles 2016-11-22 11:42:49 +01:00
controller-config-pacemaker.yaml Make step an integer on the pacemaker controller 2016-10-07 15:12:58 -04:00
controller-role.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
deploy-artifacts.sh Use --globoff when downloading artifacts 2016-11-08 12:19:27 +00:00
deploy-artifacts.yaml Add support for DeployArtifactURLs 2016-02-26 16:55:44 -05:00
objectstorage-role.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00
post.j2.yaml Use j2 loops in post.j2.yaml 2016-11-10 14:27:36 +00:00
role.role.j2.yaml Hiera optimization: use a new hiera hook 2016-11-30 22:16:13 -05:00