Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PE-23563) Stop MCO and Puppet prior to MSI install #274

Merged
merged 3 commits into from
Feb 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions templates/install_puppet.bat.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ REM sets its startup type, which prevents installs from proceeding.
REM This may fail on agents without pxp-agent, but since this is not
REM run interactively and the next command sets ERRORLEVEL, it's OK.
net stop pxp-agent
REM Same for the Marionette Collective Service and Puppet Agent service
net stop mcollective
net stop puppet

REM Log the current user token privileges for debugging
whoami /all

<% if @msi_move_locked_files %>
REM Move puppetres.dll to avoid file locks and service restarts (MODULES-4207)
Expand Down