# CONFIGURATION VARIABLES:
# This is the instance name for the SDP layout:
SDP_INSTANCE="{{ perforce_id }}"
SDP_UPGRADE="{{ sdp_upgrade }}"
#
# Do not prefix these paths with a /
# Make sure these volumes exist in the filesystem.
# DB1 = Root metadata during install. Paths will switch during recreate_db_checkpoint.sh run.
# DB2 = Offline metadata during install
# If you do not have separate volumes for root and offline, just set DB1 and DB2 to the same volume.
DB1="{{ perforce_online_metadata_volume }}"
DB2="{{ perforce_offline_metadata_volume }}"
DD="{{ perforce_data_volume }}"
# Checkpoints can be on a separate volume if necessary. In cases where GCP duplicated storage is being
# used for an edge server, you may want to duplicate only the checkpoints volume since the depot data is
# not critical because it comes from the commit server. (You must be using global shelves in that config.)
CKP="{{ perforce_checkpoint_volume }}"
# LG would be something like mnt/p4logs if you have a separate logs volume.
LG="{{ perforce_log_volume }}"
# CN is the volume for /p4/common. It is separated here so that you can set it to a different
# volume if you are installing other instances on different depots volumes than where the
# common folder is located.
CN="{{ perforce_common_volume }}"
# The SDP is typically on the same volume as the common folder, so we default to that volume.
SDP=/"{{ perforce_log_volume }}"/sdp
# If you are sharing the depotdata volume with a replica, change this value to TRUE
SHAREDDATA="{{ perforce_shareddata }}"
OSUSER="{{ perforce_user }}"
OSGROUP="{{ perforce_group }}"
# CASE_SENSITIVE settings:
# 0 -- Server will run '-C1' mode, forcing case-insensitive mode on normally case-sensitive platforms
# 1 -- Server will run with case sensitivity default of the underlying platform (Unix is case sensitive).
CASE_SENSITIVE="{{ perforce_case_sensitive }}"
# Admin user's account name.
ADMINUSER="{{ perforce_admin_user }}"
# Admin user's password
P4ADMINPASS="{{ perforce_admin_user_pass }}"
DOMAIN="{{ perforce_domain }}"
# Email address from which emails are sent. This must be exactly one email address. Depending on the
# configuration of the email server, it may or may not be a distribution list. More strict email
# server configurations require it to be an email associated with an individual account.
MAILFROM="{{ perforce_mailfrom_email }}"
# Email to receive emails from SDP scripts. This can be a comma-separated list and/or contain a distribution
# list email (e.g. PerforceAdmin@MyCompany.com). If you want something other than $MAILFROM, just
# remove $MAILFROM and create your own list in quotes.
MAILTO="{{ perforce_mailto_email }}"
# Mail Host Address
MAILHOST="{{ perforce_smtp_server }}"
# SSL_PREFIX should be blank to not use SSL, otherwise ssl:
#
# If you are planning to use SSL, you need to put certificates in /p4/ssl after the SDP install or
# you can generate a self signed certificate as follows:
# Edit /p4/ssl/config.txt to put in the info. for your company.
# Then run: /p4/common/bin/p4master_run <instance> /p4/<instance>/p4d_<instance> -Gc
# For example using instance 1:
# /p4/common/bin/p4master_run 1 /p4/1/bin/p4d_1 -Gc
#
SSL_PREFIX="{{ perforce_ssl_prefix }}"
# Set MASTERINSTANCE to the first instance in your installation.
# This is used for linking the license and ssl dir to the other instances to avoid duplication.
MASTERINSTANCE="{{ perforce_id }}"
# P4_PORT=${SDP_INSTANCE}666
# P4BROKER_PORT=${SDP_INSTANCE}667
# If you're SDP_INSTANCE is non numeric, then uncomment the items below to set the PORT setting.
# Port for this Perforce server to listen on.
P4_PORT="{{ perforce_p4_port }}"
# Ignore the broker port if you are not running a broker.
P4BROKER_PORT="{{ perforce_p4broker_port }}"
P4COMMITSERVER="{{ commit_dns }}"
# DNS Name or IP address of master or edge server
# A DNS Name is much easier to manage for failover purposes.
# Change this from $(hostname) to your actual DNS name. It is set to $(hostname) in order
# for testing to work with a default install.
P4DNSNAME="{{ perforce_dnsname }}"
# The server.id of the master server. Or, if configuring
# an edge server or replica of an edge server, set this
# to the server.id of the edge server.
MASTER_ID="{{ perforce_master_id }}"
# Replica server.id name
REPLICA_ID="{{ perforce_replica_id }}"
# Set SERVER_TYPE to one of: master, replica, standby, edge, broker, proxy
# p4d_master - A master/commit server.
# p4d_replica - A replica that uses p4 pull for metadata replication.
# p4d_standby - A standby replica that uses journalcopy for metadata replication.
# p4d_edge - An edge server
# p4d_edgerep = A replica of an edge server
# p4broker - An SDP host running only a broker, with no p4d.
# p4proxy - An SDP host running a proxy (maybe with a broker in front), with no p4d.
SERVER_TYPE="{{ perforce_server_type }}"
# Email address for p4review complaints for each instance
# look something like P4Review_1666@example.com. Set
# the COMPLAINFROM_PREFIX (e.g. "P4Review") and
# COMPLAINFROM_DOMAIN (e.g. "example.com)" here. Instance
# specific values are substituted below.
COMPLAINFROM_DOMAIN="{{ perforce_complainfrom_domain }}"
COMPLAINFROM="{{ perforce_complainfrom }}"