#####################################################################
# SPLIT CONSOLE INSTALL

#--------------------------------------------------------------------
# Global Answers
# These answers are always needed.

# Y or N — Whether to install. Answer files must set this to "Y".
q_install=y

# Y or N — Whether the installer has permission to install additional packages
# from the OS’s repositories. If this is set to N, the installation will fail
# if the installer detects missing dependencies.
q_vendor_packages_install=y

#--------------------------------------------------------------------
# Components
# These answers are always needed.

# Y or N — Whether to install the puppet master role.
q_puppetmaster_install=n

# Y or N — Whether to install the database support (the console PostgreSQL
# server and PuppetDB) role.
q_puppetdb_install=n

# Y or N — Whether to install the console role.
q_puppet_enterpriseconsole_install=y

#--------------------------------------------------------------------
# Puppet Agent Answers
# These answers are always needed.

# String — An identifying string for this agent node. This per-node ID must be
# unique across your entire site. Fully qualified domain names are often used
# as agent certnames.
q_puppetagent_certname=pe-console.localdomain

# String — The hostname of the puppet master server. For the agent to trust the
# master’s certificate, this must be one of the valid DNS names you chose when
# installing the puppet master.
q_puppetagent_server=pe-master.localdomain

# Y or N — Whether to quit the install if the puppet master cannot be reached.
q_fail_on_unsuccessful_master_lookup=y

# Y or N — This is a silent install option, default is N. When set to "Y", the
# installer will skip master verification which allows the user to deploy agents
# when they know the master won’t be available.
q_skip_master_verification=n

#--------------------------------------------------------------------
# Puppet Master Answers
# These answers are generally needed if you are installing the puppet master
# role.

# String — An identifying string for the puppet master. This ID must be unique
# across your entire site. The server’s fully qualified domain name is often
# used as the puppet master’s certname.
q_puppetmaster_certname=${q_puppetagent_server}

# String — The password for the console’s admin user. Must be longer than eight
# characters.
q_puppet_enterpriseconsole_auth_password=strongpassword2536

# String — A publicly accessible hostname where the console can be accessed if
# the host name resolves to a private interface (e.g., Amazon EC2). This is set
# automatically by the installer on EC2 nodes, but can be set manually in
# environments with multiple hostnames.
#q_public_hostname=

# Y or N - Whether or not the file sync service should be enabled on the master
# node.  This will be 'Y' by default for installs and 'N' by default for
# upgrades because migrating an existing codedir to codedir-staging is a manual
# process.  It should only be overridden if you have already made that migration.
#
# NOTE: For split installs, if you set this on your master, you must have the
# same answer on the console node for correct classification or the changes
# will be overriden during the first puppet run on the master.
#q_puppetmaster_file_sync_service_enabled=

#--------------------------------------------------------------------
# Database Support Answers
# These answers are only needed if you are installing the database support
# role.

# String — The hostname of the server running the PostgreSQL server that
# supports the console.
q_database_host=pe-puppetdb.localdomain

# Integer — The port where the PostgreSQL server that supports the console can
# be reached.
q_database_port=5432

# String — The database PuppetDB will use.
q_puppetdb_database_name=pe-puppetdb

# String — The password for PuppetDB’s root user.
q_puppetdb_database_password=strongpassword1748

# String — PuppetDB’s root user name.
q_puppetdb_database_user=pe-puppetdb

# String — The hostname of the server running PuppetDB.
q_puppetdb_hostname=pe-puppetdb.localdomain

# Integer — The port where the PuppetDB server can be reached.
q_puppetdb_port=8081

# String — The database RBAC will use.
q_rbac_database_name=pe-rbac

# String — The password for RBAC's root user.
q_rbac_database_password=strongpassword8044

# String — RBAC’s root user name.
q_rbac_database_user=pe-rbac

# String — The database classifier will use.
q_classifier_database_name=pe-classifier

# String — The password for classifier's root user.
q_classifier_database_password=strongpassword1744

# String — classifier’s root user name.
q_classifier_database_user=pe-classifier

# String — The database activity service will use.
q_activity_database_name=pe-activity

# String — The password for activity service 's root user.
q_activity_database_password=strongpassword9972

# String — activity service’s root user name.
q_activity_database_user=pe-activity

# Whether to exit the installer (during upgrade) to perform the NC Data Migration process
# See http://docs.puppetlabs.com/pe/3.8/install_upgrade_migration_tool.html

q_exit_for_nc_migrate=n
