Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
bug 1286549 - disable puppet service (t-w732); r=markco
Browse files Browse the repository at this point in the history
The `Disable-Service -serviceName 'puppet'` line here should stop and disable the running puppet service. For golden runs we use the puppet agent cli rather than the service, so there's no good reason for it to be running.
The `Remove-ItemProperty -Name 'fPromptForPassword' -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'` line is a piggyback change to change the rdp service behaviour to allow rdp clients to authenticate from the command line (as all our other windows instances allow)
  • Loading branch information
grenade committed Jul 13, 2016
1 parent 7e8544e commit f1b8f7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/Ec2UserdataUtils.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,8 @@ function Install-RelOpsPrerequisites {
Install-Package -id 'sublimetext3.packagecontrol' -version '2.0.0.20140915' -testPath ('{0}\Sublime Text 3\Installed Packages\Package Control.sublime-package' -f $env:AppData)
if ($env:ComputerName.Contains('-w732-')) {
Install-Package -id 'puppet' -version '3.4.3' -testPath ('{0}\Puppet Labs\Puppet\bin\puppet.bat' -f $env:ProgramFiles)
Disable-Service -serviceName 'puppet'
Remove-ItemProperty -Name 'fPromptForPassword' -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
}

#https://bugzilla.mozilla.org/show_bug.cgi?id=1261812
Expand Down

0 comments on commit f1b8f7e

Please sign in to comment.