Skip to content

Commit

Permalink
update doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timidri committed Jun 25, 2021
1 parent ee4d45c commit 0cc5474
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions plans/add_replica.pp
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# @summary Add a replica to a PE architecture or replace an existing one.
# Supported use cases:
# 1: the replica is gone
# 2: there is no replica
# both use cases: we have a fresh new VM we want to provision the replica to.
# @summary Replace a replica host for a Standard or Large architecture.
# Supported use cases:
# 1: The existing replica is broken, we have a fresh new VM we want to provision the replica to.
# The new replica should have the same certname as the broken one.
# @param primary_host - The hostname and certname of the primary Puppet server
# @param replica_host - The hostname and certname of the replica VM
# @param replica_postgresql_host - The hostname and certname of the host with the replica PE-PosgreSQL database.
# Can be a separate host in an XL architecture, or undef in Standard or Large.
# Can be a separate host in an XL architecture, or undef in Standard or Large.
plan peadm::add_replica(
# Standard or Large
Peadm::SingleTargetSpec $primary_host,
Expand Down

0 comments on commit 0cc5474

Please sign in to comment.