OpenStack Orchestration (Heat) Agents
Go to file
Sofer Athlan-Guyot 769d0de4d9 Simplify legacy hieradata check to avoid false positive.
It seems that the current check for legacy hieradata can be fooled by
the way os-apply-config get its cached data.  This simplify the check
to avoid those false positives.

This a stable/ocata patch only as it's the transition between old and
new hiera mechanism.  For master, the stricter check is kept.

Change-Id: I53eddcb4e80f1256feb4285fdc7d25a2d70fb593
Closes-Bug: #1680006
2017-04-07 07:52:45 +00:00
heat-config Merge "Prevent trailing whitespace in rendered JSON" 2017-01-23 21:36:44 +00:00
heat-config-ansible Add --skip-tags to ansible hook 2017-01-23 16:30:28 +00:00
heat-config-apply-config Move elements at the top level 2017-01-04 16:57:10 +01:00
heat-config-cfn-init Move elements at the top level 2017-01-04 16:57:10 +01:00
heat-config-chef Prevent trailing whitespace in rendered JSON 2017-01-13 12:07:51 +01:00
heat-config-docker-cmd Merge "Prevent trailing whitespace in rendered JSON" 2017-01-23 21:36:44 +00:00
heat-config-docker-compose Move elements at the top level 2017-01-04 16:57:10 +01:00
heat-config-hiera Simplify legacy hieradata check to avoid false positive. 2017-04-07 07:52:45 +00:00
heat-config-json-file Prevent trailing whitespace in rendered JSON 2017-01-13 12:07:51 +01:00
heat-config-kubelet Prevent trailing whitespace in rendered JSON 2017-01-13 12:07:51 +01:00
heat-config-puppet Move elements at the top level 2017-01-04 16:57:10 +01:00
heat-config-salt Move elements at the top level 2017-01-04 16:57:10 +01:00
heat-config-script Move elements at the top level 2017-01-04 16:57:10 +01:00
tests Merge "Add --skip-tags to ansible hook" 2017-01-24 03:20:30 +00:00
.gitignore Move elements at the top level 2017-01-04 16:57:10 +01:00
.gitreview Update .gitreview for stable/ocata 2017-02-03 10:44:36 +00:00
.testr.conf Move elements at the top level 2017-01-04 16:57:10 +01:00
LICENSE Reinstate LICENSE file 2017-01-13 11:37:47 -05:00
MANIFEST.in Add setup files for packaging 2017-01-25 16:15:23 +01:00
README.rst Use heat-agents instead of heat-templates 2017-01-09 16:44:07 +08:00
requirements.txt Move elements at the top level 2017-01-04 16:57:10 +01:00
setup.cfg Add setup files for packaging 2017-01-25 16:15:23 +01:00
setup.py Add setup files for packaging 2017-01-25 16:15:23 +01:00
test-requirements.txt Move elements at the top level 2017-01-04 16:57:10 +01:00
tox.ini Move elements at the top level 2017-01-04 16:57:10 +01:00

README.rst

Software configuration hooks

This directory contains diskimage-builder elements to build an image which contains the software configuration hook required to use your preferred configuration method.

These elements depend on some elements found in the tripleo-image-elements repository. These elements will build an image which uses os-collect-config, os-refresh-config, and os-apply-config together to invoke a hook with the supplied configuration data, and return any outputs back to heat.

When building an image only the elements for the preferred configuration methods are required. The heat-config element is automatically included as a dependency.

An example fedora based image containing all hooks can be built and uploaded to glance with the following:

git clone https://git.openstack.org/openstack/diskimage-builder.git
git clone https://git.openstack.org/openstack/tripleo-image-elements.git
git clone https://git.openstack.org/openstack/heat-agents.git
git clone https://git.openstack.org/openstack/dib-utils.git
export PATH="${PWD}/dib-utils/bin:$PATH"
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-agents/
diskimage-builder/bin/disk-image-create vm \
  fedora selinux-permissive \
  os-collect-config \
  os-refresh-config \
  os-apply-config \
  heat-config \
  heat-config-ansible \
  heat-config-cfn-init \
  heat-config-docker-compose \
  heat-config-kubelet \
  heat-config-puppet \
  heat-config-salt \
  heat-config-script \
  -o fedora-software-config.qcow2
openstack image create --disk-format qcow2 --container-format bare fedora-software-config < \
  fedora-software-config.qcow2