aboutsummaryrefslogtreecommitdiffstats
path: root/environments/enable-swap.yaml
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2017-01-10 10:02:14 +0100
committerCarlos Camacho <ccamacho@redhat.com>2017-01-16 15:47:50 +0100
commit92e203aab60eee1d7f99d244a3576f6c6363fa2e (patch)
treed6791cad46feb46a705d208fb006eb97f9d4ddcc /environments/enable-swap.yaml
parentfa45e05f5095dabfcb1a8de396b8281b026c13b8 (diff)
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
Diffstat (limited to 'environments/enable-swap.yaml')
-rw-r--r--environments/enable-swap.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/environments/enable-swap.yaml b/environments/enable-swap.yaml
new file mode 100644
index 0000000..9ba0864
--- /dev/null
+++ b/environments/enable-swap.yaml
@@ -0,0 +1,3 @@
+# Use this environment to create a swap file in all Overcloud nodes
+resource_registry:
+ OS::TripleO::AllNodesExtraConfig: ../extraconfig/all_nodes/swap.yaml