Skip to content

Commit

Permalink
Migration: remove current_page title setting code
Browse files Browse the repository at this point in the history
  • Loading branch information
snneji committed Feb 2, 2023
1 parent d0bb86d commit 10a33ee
Show file tree
Hide file tree
Showing 25 changed files with 11 additions and 54 deletions.
7 changes: 6 additions & 1 deletion aws-manual.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ title: Installing Ops Manager on AWS Manually
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on AWS Manually" %>
<%# Reset page title based on platform type %>
<% if vars.platform_code != 'CF' %>

<% set_title("Installing " + vars.platform_name + " on AWS Manually") %>

<% end %>

This topic explains how to install <%= vars.platform_name %> on Amazon Web Services (AWS) manually.

Expand Down
2 changes: 0 additions & 2 deletions aws-terraform.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on AWS using Terraform
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on AWS using Terraform" %>

This topic explains how to install <%= vars.platform_name %> on AWS using Terraform.


Expand Down
2 changes: 0 additions & 2 deletions aws.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on AWS
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on AWS" %>

This guide describes how to install [<%= vars.platform_name %>](https://network.pivotal.io/products/pivotal-cf) on Amazon Web Services (AWS).


Expand Down
2 changes: 0 additions & 2 deletions azure-terraform.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on Azure Using Terraform
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on Azure Using Terraform" %>

This topic explains how to install <%= vars.platform_name %> on Microsoft Azure using Terraform.

To install <%= vars.platform_name %> on Azure using Terraform:
Expand Down
4 changes: 0 additions & 4 deletions azure-troubleshooting.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ title: Troubleshooting Ops Manager on Azure
owner: Ops Manager, Release Integration
---

<% current_page.data.title = "Troubleshooting " + vars.platform_name + " on Azure" %>

<html class="list-style-none"></html>

This topic describes how to troubleshoot known issues when deploying or running <%= vars.platform_name %> on Azure.


Expand Down
2 changes: 0 additions & 2 deletions azure.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on Azure
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on Azure" %>

This topic describes how to install <%= vars.platform_name %> on Microsoft Azure.

It includes resource requirements, prerequisites, instructions for installing <%= vars.platform_name %> on Azure, and additional resources.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Recovering from an Ops Manager and TAS for VMs Upgrade Failure
owner: Platform Recovery
---

<% current_page.data.title = "Recovering from an " + vars.ops_manager + " and " + vars.app_runtime_abbr + " Upgrade Failure" %>

This topic explains how to use BOSH Backup and Restore (BBR) to restore <%= vars.ops_manager %> and <%= vars.app_runtime_full %> (<%= vars.app_runtime_abbr %>) back to a healthy state after a failed upgrade between <%= vars.app_runtime_abbr %> minor versions.

<p class="note"><strong>Note:</strong> BBR can only restore across the same <%= vars.app_runtime_abbr %> minor versions. To verify which version of <%= vars.app_runtime_abbr %> was used to create the backup artifact, see <code>metadata/cf-VERSION.yml</code> in the backup artifact.</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
title: Restoring Lost TAS Data
title: Restoring Lost TAS for VMs Data
owner: Platform Recovery
---

<% current_page.data.title = "Restoring Lost " + vars.app_runtime_abbr + " Data" %>

This topic explains how to use BOSH Backup and Restore (BBR) to restore a piece of
<%= vars.app_runtime_full %> (<%= vars.app_runtime_abbr %>) data, such as a user or space, which has been lost.

Expand Down
8 changes: 4 additions & 4 deletions backup-restore/restore-pcf-bbr.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ If you re-create your IaaS resources, you must also add those resources to <%= v

1. Follow the procedures for your IaaS to deploy <%= vars.ops_manager %>:
* **AWS:**
* If you configured AWS manually, see [Deploying <%= vars.ops_manager %> on AWS Manually](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version.sub('.', '-') %>/aws/deploy-manual.html).
* If you configured AWS manually, see [Deploying <%= vars.ops_manager %> on AWS Manually](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version %>/aws/deploy-manual.html).
* If you used Terraform to install <%= vars.platform_name %> on AWS, see [Installing <%= vars.platform_name %> on AWS Using Terraform](../aws-terraform.html).
* **GCP:** See [Deploying <%= vars.ops_manager %> on GCP Manually](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version.sub('.', '-') %>/gcp/deploy-manual.html).
* **OpenStack:** See _Step 4: Create <%= vars.ops_manager %> Image_ through _Step 9: Create a DNS Entry_ in [Deploying <%= vars.ops_manager %> on OpenStack](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version.sub('.', '-') %>/openstack/setup.html#create-om-image).
* **vSphere:** See [Deploying <%= vars.ops_manager %> on vSphere](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version.sub('.', '-') %>/vsphere/deploy.html).
* **GCP:** See [Deploying <%= vars.ops_manager %> on GCP Manually](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version %>/gcp/deploy-manual.html).
* **OpenStack:** See _Step 4: Create <%= vars.ops_manager %> Image_ through _Step 9: Create a DNS Entry_ in [Deploying <%= vars.ops_manager %> on OpenStack](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version %>/openstack/setup.html#create-om-image).
* **vSphere:** See [Deploying <%= vars.ops_manager %> on vSphere](https://docs.pivotal.io/platform/ops-manager/<%= vars.current_major_version %>/vsphere/deploy.html).

1. Import your installation settings. This can be done in two ways:
1. Using the <%= vars.ops_manager %> UI:
Expand Down
2 changes: 0 additions & 2 deletions deleting-aws-install.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Deleting Ops Manager from AWS
owner: Ops Manager
---

<% current_page.data.title = "Deleting " + vars.platform_name + " from AWS" %>

When you deploy <%= vars.platform_name %> to Amazon Web Services (AWS), you provision a set of resources.
This topic describes how to delete the AWS resources associated with an <%= vars.platform_name %> deployment.
You can use the AWS console to remove an installation of all components,
Expand Down
2 changes: 0 additions & 2 deletions deleting-azure-install.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Deleting Ops Manager from Azure
owner: Ops Manager
---

<% current_page.data.title = "Deleting " + vars.platform_name + " from Azure" %>

When you deploy <%= vars.platform_name %> to Azure, you provision a set of resources. This topic describes how to delete the resources associated with a <%= vars.platform_name %> deployment.

The fastest way to remove resources is to delete the resource group, or resource groups, associated with your <%= vars.platform_name %> on Azure installation.
Expand Down
2 changes: 0 additions & 2 deletions deleting-gcp-install.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Deleting Ops Manager from GCP
owner: Ops Manager
---

<% current_page.data.title = "Deleting " + vars.platform_name + " from GCP" %>

When you deploy <%= vars.platform_name %> to Google Cloud Platform (GCP), you provision a set of resources. This topic describes how to delete the resources associated with a <%= vars.platform_name %> deployment.

You can delete the resources in one of two ways:
Expand Down
2 changes: 0 additions & 2 deletions gcp-manual.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on GCP Manually
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on GCP Manually" %>

This topic explains how to install <%= vars.platform_name %> on GCP manually.

## <a id="overview"></a> Overview
Expand Down
2 changes: 0 additions & 2 deletions gcp-terraform.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on GCP Using Terraform
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on GCP Using Terraform" %>

This topic explains how to install <%= vars.platform_name %> on GCP using Terraform.

## <a id="overview"></a> Overview
Expand Down
2 changes: 0 additions & 2 deletions gcp.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on GCP
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on GCP" %>

This topic describes how to install [<%= vars.platform_name %>](https://network.pivotal.io/products/pivotal-cf) on Google Cloud Platform (GCP).

It includes resource requirements, prerequisites, instructions for installing <%= vars.platform_name %> on GCP, and additional resources.
Expand Down
2 changes: 0 additions & 2 deletions offline_installation.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager in Air-Gapped Environments
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " in Air-Gapped Environments" %>

This topic provides an overview of the components and resources needed to install <%= vars.platform_name %> in air-gapped environments, including the typical corresponding automation resources.

##<a id="offline-components"></a> Offline Components
Expand Down
2 changes: 0 additions & 2 deletions openstack.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on OpenStack
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on OpenStack" %>

This guide describes how to install <%= vars.platform_name %> on OpenStack with <%= vars.app_runtime_full %> (<%= vars.app_runtime_abbr %>).


Expand Down
2 changes: 0 additions & 2 deletions pcf-azure-manual-config.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on Azure Manually
owner: Ops Manager
---

<% current_page.data.title = "Installing " + vars.platform_name + " on Azure Manually" %>

This topic explains how to install <%= vars.platform_name %> on Microsoft Azure manually.

To install <%= vars.platform_name %> on Azure manually, do the following:
Expand Down
2 changes: 0 additions & 2 deletions pcf_azure.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Installing Ops Manager on Microsoft Azure
owner: Partners
---

<% current_page.data.title = "Installing " + vars.platform_name + " on Microsoft Azure" %>

<p class="note"><strong>Note:</strong> This document describes how to install a basic, opinionated <%= vars.platform_name %> on Azure using the Azure Marketplace. To install a more robust <%= vars.platform_name %> deployment on Azure for development or production, see the <a href="azure.html">Installing <%= vars.platform_name %> on Azure</a> topic.</p>

This topic describes how to deploy <%= vars.platform_name %> on Microsoft Azure.
Expand Down
2 changes: 0 additions & 2 deletions plan.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Planning Your Pivotal Platform Deployment
owner: PCF Documentation
---

<% current_page.data.title = "Planning Your " + vars.platform_name + " Deployment" %>

This documentation provides an overview of how to plan an <%= vars.platform_name %> installation.


Expand Down
2 changes: 0 additions & 2 deletions policy-doc.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Ops Manager for AWS Policy Document
owner: Ops Manager
---

<% current_page.data.title = vars.platform_name + " for AWS Policy Document" %>

Use this policy document to complete _Step 3: Create an IAM User for <%= vars.platform_name %>_ in [Preparing to Deploy Ops Manager on AWS Manually](/platform/ops-manager/<%= vars.current_major_version.sub('.', '-') %>/aws/prepare-env-manual.html#create-iam).


Expand Down
2 changes: 0 additions & 2 deletions runtimes.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Pivotal Platform Runtimes
owner: PCF Documentation
---

<% current_page.data.title = vars.platform_name + " Runtimes" %>

This topic describes the runtime environments you can install on <%= vars.platform_name %>.


Expand Down
2 changes: 0 additions & 2 deletions upgrading-pcf.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Upgrading Ops Manager
owner: Ops Manager
---

<% current_page.data.title = "Upgrading " + vars.platform_name %>

This topic describes upgrading <%= vars.ops_manager %> and <%= vars.app_runtime_full %> (<%= vars.app_runtime_abbr %>) to <%= vars.v_major_version %>.

<p class="note breaking"><strong>Breaking Changes:</strong> Read the <a href="https://docs.pivotal.io/ops-manager/2-10/release-notes.html"><%= vars.ops_manager %> v2.10 Release Notes</a>, <a href="https://docs.pivotal.io/application-service/<%= vars.current_major_version.sub('.', '-') %>/overview/release-notes/runtime-rn.html"><%= vars.app_runtime_full %> <%= vars.v_major_version %> Release Notes</a>, <a href="https://docs.pivotal.io/application-service/<%= vars.current_major_version.sub('.', '-') %>/overview/release-notes/segment-rn.html"><%= vars.segment_runtime_full %> <%= vars.v_major_version %> Release Notes</a>, <a href="https://docs.pivotal.io/application-service-windows/<%= vars.current_major_version.sub('.', '-') %>/release-notes.html"><%= vars.windows_runtime_full %> <%= vars.v_major_version %> Release Notes</a>, and <a href="https://docs.pivotal.io/platform/<%= vars.current_major_version.sub('.', '-') %>/release-notes/breaking-changes.html"><%= vars.ops_manager %> <%= vars.v_major_version %> and Runtime Breaking Changes</a> for this release, including the <em>Known Issues</em> sections, before starting the upgrade process.</p>
Expand Down
2 changes: 0 additions & 2 deletions upgrading-products.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Upgrading TAS for VMs and Other Ops Manager Products
owner: RelEng
---

<% current_page.data.title = "Upgrading TAS for VMs and Other " + vars.platform_name + " Products" %>

This topic describes how to upgrade to a point release of <%= vars.app_runtime_full %> (<%= vars.app_runtime_abbr %>) and other product tiles without upgrading <%= vars.ops_manager %>. For example, use this topic to upgrade from <%= vars.app_runtime_abbr %> v2.9.0 to v2.9.1. You might need to perform this upgrade if a security update for <%= vars.app_runtime_abbr %> is released, or if new features are introduced in a point release of a product tile.

For <%= vars.app_runtime_abbr %> component and version information, see [<%= vars.app_runtime_full %> <%= vars.v_major_version %> Release Notes](http://docs.pivotal.io/application-service/<%= vars.current_major_version.sub('.', '-') %>/overview/release-notes/runtime-rn.html).
Expand Down
2 changes: 0 additions & 2 deletions vsphere.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ owner: Ops Manager
iaas: vSphere
---

<% current_page.data.title = "Installing " + vars.platform_name + " on vSphere" %>

This guide describes how to install [<%= vars.platform_name %>](https://network.pivotal.io/products/pivotal-cf) on vSphere.

If you experience a problem while following the steps below, see [Diagnosing Deployment Problems](diagnostics.html) or the _Known Issues_ sections of the following topics:
Expand Down

0 comments on commit 10a33ee

Please sign in to comment.