tripleo-heat-templates/puppet/extraconfig/pre_deploy
Rabi Mishra 10e8ea29a3 Set facter variable 'uuid' explicitly in docker-puppet.py
Unprivileged docker-puppet-$service containers don't have access
to devices and can't get facter 'uuid' variable. Therefore per node
hiera customizations don't work. We can work around this by using
/sys/class/dmi/id/product_uuid instead.

dmidecode>=3.1 returns system-id in lower case, so it's better to
use lowe case for compatibility.

This would also require changes to the docs as ironic node
introspection data may show it in both cases.

Change-Id: I899de7732c5b29ed70d4d487fdbc363117ac327f
Closes-Bug: #1806011
(cherry picked from commit 4de17945a1)
2018-12-07 19:10:09 +05:30
..
compute Change template names to queens 2017-11-23 10:15:32 +01:00
controller Change template names to queens 2017-11-23 10:15:32 +01:00
README Wire in Controller pre-deployment extraconfig 2015-07-06 10:56:11 -04:00
default.yaml Change template names to queens 2017-11-23 10:15:32 +01:00
per_node.yaml Set facter variable 'uuid' explicitly in docker-puppet.py 2018-12-07 19:10:09 +05:30

README

This tree contains additional configuration which happens "pre deployment",
e.g before the OpenStack services themselves are configured but after the
nodes themselves have been provisioned and initially configured.

Typically for puppet deployments these additional configs will put in place
hieradata which is then consumed by the subsequent puppet configuration
which occurs during the post-deployment phase.

If you need to specify multiple configs, you can chain them together in a
template, see the multiple.yaml example:

  OS::TripleO::ControllerExtraConfigPre: puppet/extraconfig/pre_deploy/controller/multiple.yaml