summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-05-25 17:10:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-25 17:10:43 +0000
commit996a8a8518d5e3baf72b7882112f4a15c184b5eb (patch)
tree22b40a6cdba30bb0cbce0e0860e59249a30ed631 /mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
parentf63c58f98b6ddbf64f300ed0495be3dd88e242e0 (diff)
parent79ff9f34a9e6ccdc1ca33fe58ff6b0bb565b22ac (diff)
Merge "[maas] Adopt maas.machines.storage" into stable/fraser
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
index 335b9c747..986bb060e 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
@@ -80,5 +80,13 @@ parameters:
architecture: {{ node.node.arch | dpkg_arch }}/generic
distro_series: xenial
hwe_kernel: ${_param:hwe_kernel}
+ {%- if loop.index0 >= node_roles.index('cmp001') %}
+ disk_layout:
+ type: lvm
+ root_device: sda
+ volume_group: vgroot
+ volume_name: lvroot
+ volume_size: 100
+ {%- endif %}
{%- endif %}
{%- endfor %}