Skip to content

Commit d1e7474

Browse files
Merge pull request #573 from GabrielNagy/MODULES-11148/document-long-paths
(MODULES-11148) Document Windows long paths support
2 parents e27a5f7 + 5abf3e0 commit d1e7474

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.markdown

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,13 @@ This setting specifies the proxy with which to configure the Puppet repos. Curre
316316
An array of additional options to pass when installing puppet-agent. Each option in the array can be either a string or a hash. Each option is automatically quoted when passed to the install command.
317317

318318
With Windows packages, note that file paths in `install_options` must use backslashes. (Since install options are passed directly to the installation command, forward slashes aren't automatically converted like they are in `file` resources.) Backslashes in double-quoted strings _must_ be escaped, while backslashes in single-quoted strings _can_ be escaped. The default value for Windows packages is `REINSTALLMODE="amus"`.
319+
320+
The full list of supported MSI properties can be found [here](https://puppet.com/docs/puppet/latest/install_agents.html#msi_properties).
321+
322+
The Puppet installer can disable the [Windows path length limit](https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation) (260 character `MAX_PATH` limitation, requires Windows 10 1607 or later). This behavior is opt-in and can be controlled by the presence of the `ENABLE_LONG_PATHS` install option (the value does not matter). (*requires Puppet >= 6.25.0/7.10.0*)
323+
319324
``` puppet
320-
install_options => ['PUPPET_AGENT_ACCOUNT_DOMAIN=ExampleCorp','PUPPET_AGENT_ACCOUNT_USER=bob','PUPPET_AGENT_ACCOUNT_PASSWORD=password']
325+
install_options => ['PUPPET_AGENT_ACCOUNT_DOMAIN=ExampleCorp', 'PUPPET_AGENT_ACCOUNT_USER=bob', 'PUPPET_AGENT_ACCOUNT_PASSWORD=password', 'ENABLE_LONG_PATHS=true']
321326
```
322327

323328
##### `msi_move_locked_files`
@@ -416,11 +421,11 @@ The task returns the output of the installation script.
416421

417422
#### `puppet_agent::facts_diff`
418423

419-
Executes `puppet facts diff` action to check if there are differences between Facter 3 and Facter 4 outputs.(*requires Puppet >= 6.21.0*)
424+
Executes `puppet facts diff` action to check if there are differences between Facter 3 and Facter 4 outputs. (*requires Puppet >= 6.21.0*)
420425

421426
**Parameters**
422427

423-
- `exclude`: Regex used to exclude specific facts from diff.(*requires Puppet >= 6.22.0*)
428+
- `exclude`: Regex used to exclude specific facts from diff. (*requires Puppet >= 6.22.0*)
424429

425430
**Return value**
426431

0 commit comments

Comments
 (0)