MSI properties
You can use these MSI properties if you install Windows agents with the msiexec
command.
puppet.conf
settings:PUPPET_SERVER
corresponds withserver
PUPPET_CA_SERVER
corresponds withca_server
PUPPET_AGENT_CERTNAME
corresponds withcertname
PUPPET_AGENT_ENVIRONMENT
corresponds withenvironment
If you use msiexec
to specify a non-default
value for these properties, the installer replaces the default value in
puppet.conf
and re-uses your specified value at upgrade.
Therefore, if you need to change these properties after setting them with
msiexec
, don't change them directly in
puppet.conf
; instead, you need to re-run the installer and
set a new value.
Customize the install script provides
more details on puppet.conf
settings.
Property | Definition | Default value |
---|---|---|
INSTALLDIR
|
Location to install Puppet and its dependencies. |
For 32-bit systems: For 64-bit systems: |
PUPPET_SERVER
|
Hostname where the primary server can be reached. | puppet
|
PUPPET_CA_SERVER
|
Hostname where the CA primary server can be reached if you're using multiple primary servers and only one of them is acting as the CA. | Value of PUPPET_SERVER |
PUPPET_AGENT_CERTNAME
|
The agent node's certificate name and the name it
uses when requesting catalogs. Only use
lowercase letters, numbers, periods, underscores, and
dashes. |
Value of facter fdqn |
PUPPET_AGENT_ENVIRONMENT
|
The agent node's environment. If the node already has a puppet.conf file containing a value
for the environment variable, specifying it
during installation doesn't override that value. |
production
|
PUPPET_AGENT_STARTUP_MODE
|
Whether and how the agent service is allowed to
run. Allowed values are:
|
Automatic
|
PUPPET_AGENT_ACCOUNT_USER
|
The Windows user account the agent service uses. Use this property when the agent needs to access files on UNC
shares, because the default The user account must already exist and can be either a local or domain user. The installer:
If you specify this property, you must also
specify
PUPPET_AGENT_ACCOUNT_PASSWORD and
PUPPET_AGENT_ACCOUNT_DOMAIN unless the node
is under a gMSA.For gMSAs, you
must also specify
|
LocalSystem
|
PUPPET_AGENT_ACCOUNT_PASSWORD
|
Password for the agent's user account. Do not specify this property for nodes running under gMSAs. |
No value |
PUPPET_AGENT_ACCOUNT_DOMAIN
|
Domain of the agent's user account. | .
|
REINSTALLMODE
|
A default MSI property that controls file
copy behavior during installation. If you need
to downgrade agents, use REINSTALLMODE=amus
when calling msiexec.exe at the command line to
prevent removing required files. |
From Prior releases: |