Commit b08b072
committed
(PA-7407) Add more detailed error information when upgrade fails
Previously when puppet_agent fails to upgrade, only the error is given. This
commit updates install_puppet.ps1 and puppet_agent_upgrade_error provider to
collect & provide more information about the error. Specifically, the last 10
lines of output from the installer.log and any other error(s) that caused the
failure are now included in the puppet_agent_upgrade_failure.log and are
output by the puppet_agent_upgrade_error type and provider. Any lines with
PUPPET_AGENT_ACCOUNT_PASSWORD are excluded from the output and failure.log.1 parent 8d062b8 commit b08b072
File tree
2 files changed
+4
-1
lines changed- files
- lib/puppet/provider/puppet_agent_upgrade_error
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments