Fix for AllNodesExtraConfig and fix environment files to create swap files/partitions
authorCarlos Camacho <ccamacho@redhat.com>
Tue, 10 Jan 2017 09:02:14 +0000 (10:02 +0100)
committerCarlos Camacho <ccamacho@redhat.com>
Mon, 16 Jan 2017 14:47:50 +0000 (15:47 +0100)
commit92e203aab60eee1d7f99d244a3576f6c6363fa2e
treed6791cad46feb46a705d208fb006eb97f9d4ddcc
parentfa45e05f5095dabfcb1a8de396b8281b026c13b8
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
environments/enable-swap-partition.yaml [new file with mode: 0644]
environments/enable-swap.yaml [new file with mode: 0644]
extraconfig/all_nodes/swap-partition.j2.yaml
extraconfig/all_nodes/swap.j2.yaml
overcloud.j2.yaml