Skip to content

Commit 9bc0efb

Browse files
committed
Resolve conditionals bug in install docs - OSDOCS-2944
1 parent 781aaa5 commit 9bc0efb

5 files changed

+35
-1
lines changed

modules/installation-load-balancing-user-infra.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,15 @@ If you are deploying a three-node cluster with zero compute nodes, the Ingress C
267267
If you are using HAProxy as a load balancer, you can check that the `haproxy` process is listening on ports `6443`, `22623`, `443`, and `80` by running `netstat -nltupe` on the HAProxy node.
268268
====
269269

270+
ifeval::["{context}" == "installing-vsphere"]
271+
:!vsphere:
272+
endif::[]
273+
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
274+
:!vsphere:
275+
endif::[]
276+
ifeval::["{context}" == "installing-vsphere-network-customizations"]
277+
:!vsphere:
278+
endif::[]
270279
ifeval::["{context}" == "installing-ibm-z"]
271280
:!ibm-z:
272281
endif::[]

modules/installation-osp-downloading-modules.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ endif::[]
2020
ifeval::["{context}" == "uninstalling-openstack-user"]
2121
:osp-user-uninstall:
2222
endif::[]
23+
ifeval::["{context}" == "uninstalling-cluster-openstack"]
24+
:osp-user-uninstall:
25+
endif::[]
2326

2427
:_content-type: PROCEDURE
2528
[id="installation-osp-downloading-modules_{context}"]
@@ -119,4 +122,7 @@ ifeval::["{context}" == "installing-openstack-user-sr-iov-kuryr"]
119122
endif::[]
120123
ifeval::["{context}" == "uninstalling-cluster-openstack"]
121124
:!osp-user-uninstall:
125+
endif::[]
126+
ifeval::["{context}" == "uninstalling-openstack-user"]
127+
:!osp-user-uninstall:
122128
endif::[]

modules/installation-user-infra-generate-k8s-manifest-ignition.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ ifeval::["{context}" == "installing-restricted-networks-gcp"]
5959
:gcp:
6060
:restricted:
6161
endif::[]
62+
ifeval::["{context}" == "installing-osp-user"]
63+
:osp:
64+
endif::[]
6265
ifeval::["{context}" == "installing-openstack-user"]
6366
:osp:
6467
endif::[]
@@ -523,6 +526,9 @@ endif::[]
523526
ifeval::["{context}" == "installing-osp-user"]
524527
:!osp:
525528
endif::[]
529+
ifeval::["{context}" == "installing-openstack-user"]
530+
:!osp:
531+
endif::[]
526532
ifeval::["{context}" == "installing-openstack-user-kuryr"]
527533
:!osp:
528534
endif::[]

modules/nw-operator-cr.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ ifeval::["{context}" == "cluster-network-operator"]
440440
:!operator:
441441
endif::[]
442442

443-
ifdef::post-install-network-configuration[]
443+
ifeval::["{context}" == "post-install-network-configuration"]
444444
:!post-install-network-configuration:
445445
endif::[]
446446
ifeval::["{context}" == "installing-ibm-cloud-network-customizations"]

modules/nw-osp-configuring-external-load-balancer.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,16 @@ content-type: text/html; charset=utf-8
157157
set-cookie: 1e2670d92730b515ce3a1bb65da45062=9b714eb87e93cf34853e87a92d6894be; path=/; HttpOnly; Secure; SameSite=None
158158
cache-control: private
159159
----
160+
161+
ifeval::["{context}" == "installing-vsphere-installer-provisioned"]
162+
:!vsphere:
163+
endif::[]
164+
ifeval::["{context}" == "installing-vsphere-installer-provisioned-customizations"]
165+
:!vsphere:
166+
endif::[]
167+
ifeval::["{context}" == "installing-vsphere-installer-provisioned-network-customizations"]
168+
:!vsphere:
169+
endif::[]
170+
ifeval::["{context}" == installing-restricted-networks-installer-provisioned-vsphere]
171+
:!vsphere:
172+
endif::[]

0 commit comments

Comments
 (0)