# This file contains links to docs to be consumed by puppet-enterprise-installer
# and puppet-enterprise-uninstaller scripts. All variables should start with LINK_
# to differentiate the variables sourced from this file vs. the ones defined 
# in the installer/uninstaller scripts.

LINK_INSTALLER_DIR="$(readlink -f "$(dirname "${0}")")"
LINK_PE_VERSION=`cat "${LINK_INSTALLER_DIR}/VERSION" 2> /dev/null | cut -d '.' -f1,2`
LINK_PUPPET_DOC_ROOT="https://puppet.com/docs"
LINK_PE_DOC_ROOT="${LINK_PUPPET_DOC_ROOT}/pe/${LINK_PE_VERSION}"

LINK_USER_GUIDE="${LINK_PE_DOC_ROOT}/pe_user_guide.html"
LINK_RELEASE_NOTES="${LINK_PE_DOC_ROOT}/release_notes_pe.html"
LINK_AUTH_CONF_MIGRATION="${LINK_PUPPET_DOC_ROOT}/puppetserver/latest/config_file_auth_migration.html"
LINK_SUPPORTED_OS="${LINK_PE_DOC_ROOT}/supported_operating_systems.html"
LINK_SPLIT_MIGRATION="${LINK_PE_DOC_ROOT}/upgrading_pe.html#migrate-split-mono"
LINK_UPGRADE_CAUTIONS="${LINK_PE_DOC_ROOT}/upgrading_pe.html#upgrade_cautions"
LINK_INSTALL_PE="${LINK_PE_DOC_ROOT}/installing_pe.html"
