Skip to content

Instantly share code, notes, and snippets.

@gsarjeant
Created August 23, 2014 14:50
Show Gist options
  • Save gsarjeant/a3ad07592c81283d54fd to your computer and use it in GitHub Desktop.
Save gsarjeant/a3ad07592c81283d54fd to your computer and use it in GitHub Desktop.
Puppet Enterprise Monolithic Master Answer File Template
#####################################################################
# ALL IN ONE 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=y
# Y or N — Whether or not the installation is an all-in-one installation,
# (i.e., are puppetdb and the console also being installed on this node). This
# is also known as a monolithic install.
q_all_in_one_install=y
# Y or N — Whether to install the cloud provisioner role.
q_puppet_cloud_install=n
#--------------------------------------------------------------------
# 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.
# e.g. master.puppetlabs.vm
q_puppetagent_certname=MONOLITHIC_MASTER_FQDN
#--------------------------------------------------------------------
# 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=MONOLITHIC_MASTER_FQDN
# String — Valid DNS names at which the puppet master can be reached. Must be a
# comma-separated list. In a normal installation, defaults to
# <hostname>,<hostname.domain>,puppet,puppet.<domain>.
q_puppetmaster_dnsaltnames=MONOLITHIC_MASTER_HOSTNAME,MONOLITHIC_MASTER_FQDN
# y or n; MUST BE LOWERCASE — Whether to check for updates whenever the pe-httpd
# service restarts. To get the correct update info, the server will pass some
# basic, anonymous info to Puppet Labs’ servers. Specifically, it will transmit:
# the IP address of the client
# the type and version of the client’s OS
# the installed version of PE
# the number of nodes licensed and the number of nodes used
# If you wish to disable update checks (e.g. if your company policy forbids
# transmitting this information), you will need to set this to n. You can also
# disable checking after installation by editing the
# /etc/puppetlabs/installer/answers.install file.
q_pe_check_for_updates=n
# Y or N — Whether to disable or enable live management in the console. Note
# that you need to manually add this question to your answer to file before an
# installation or upgrade.
q_disable_live_management=n
# Integer — The port on which to serve the console. The default is port 443,
# which will allow access to the console from a web browser without manually
# specifying a port. If port 443 is not available, the installer will try port
# 3000, 3001, 3002, 3003, 3004, and 3005.
q_puppet_enterpriseconsole_httpd_port=443
# String — The email address the console’s admin user will use to log in.
q_puppet_enterpriseconsole_auth_user_email=CONSOLE_ADMIN_ACCOUNT
# String — The password for the console’s admin user. Must be longer than eight
# characters.
q_puppet_enterpriseconsole_auth_password=CONSOLE_ADMIN_PASSWORD
# String – The SMTP server used to email account activation codes to new
# console users.
q_puppet_enterpriseconsole_smtp_host=smtp.localdomain
# Integer – The port to use when contacting the SMTP server.
q_puppet_enterpriseconsole_smtp_port=25
# Y or N – Whether to use TLS when contacting the SMTP server.
q_puppet_enterpriseconsole_smtp_use_tls=n
# Y or N – Whether to authenticate to the SMTP server with a username and
# password.
q_puppet_enterpriseconsole_smtp_user_auth=n
# String – The username to use when contacting the SMTP server. Only used when
# q_puppet_enterpriseconsole_smtp_user_auth is "Y".
q_puppet_enterpriseconsole_smtp_username=
# String – The password to use when contacting the SMTP server. Only used when
# q_puppet_enterpriseconsole_smtp_user_auth is "Y".
q_puppet_enterpriseconsole_smtp_password=
# 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=
#--------------------------------------------------------------------
# Database Support Answers
# These answers are only needed if you are installing the database support
# role.
# Y or N — Whether or not to install the PostgreSQL server that supports the
# console.
q_database_install=y
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment