tripleo-heat-templates/environments/enable-swap-partition.yaml
Carlos Camacho 92e203aab6 Fix for AllNodesExtraConfig and fix environment files to create swap files/partitions
This submission:

 - Fix an error in the AllNodesExtraConfig resource.
   (Can't merge servers multiple times).
 - Add environment files to deploy swap file/partition
   without manual edit over the templates.
 - If a swap partition is mounted without having it available
   the deployment will fail, the fix checks that if the
   partition is not created then the deployment continues.
 - Removing empty extra lines in swap templates.
 - Adjust description and remove unnecessary comments in
   swap templates.

Closes-Bug: 1652184

Change-Id: I828bbbbd4c178956aac74af49f80fcd4f62fa16b
2017-01-16 15:47:50 +01:00

4 lines
173 B
YAML

# Use this environment to create a swap partition in all Overcloud nodes
resource_registry:
OS::TripleO::AllNodesExtraConfig: ../extraconfig/all_nodes/swap-partition.yaml