switch off windows updates in ec2 userdata

RESOLVED FIXED

Status

Infrastructure & Operations
RelOps: Puppet
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: grenade, Assigned: grenade)

Tracking

Details

(Whiteboard: [windows][aws])

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
The windows event log in papertrail (https://papertrailapp.com/groups/1712663), seems to be showing windows updates taking place on spot instances. Disable Windows updates in the userdata script:
https://github.com/mozilla/build-cloud-tools/blob/master/configs/b-2008.user-data
(Assignee)

Comment 1

3 years ago
Created attachment 8651793 [details] [diff] [review]
https://github.com/mozilla/build-cloud-tools/pull/108

This PR updates 2008 userdata powershell to disable windows updates if the instance has them enabled. Additionally, Ec2UserdataUtils.psm1 was not source controlled (just hosted at http://releng-puppet2.srv.releng.scl3.mozilla.com/repos/powershell/Ec2UserdataUtils.psm1). I have included it now in cloud-tools, so that we can track changes.
Attachment #8651793 - Flags: review?(q)
(Assignee)

Updated

3 years ago
Attachment #8651793 - Flags: review?(q)
(Assignee)

Comment 2

3 years ago
merged https://github.com/mozilla/build-cloud-tools/commit/4ccc096edd26cb48cd9197ccc67b420101130599
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.