Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Win WUSA management, to install Windows Update files (.msu). #50397
What does this PR do?
This PR adds an execution module and a state module to manage .msu files with WUSA.
What issues does this PR fix or reference?
Commits signed with GPG?
@tlemarchand There are two types of tests we do. Unit tests and integration tests.
In unit tests most things are mocked and logic is tested. They're very fast but more difficult to write, especially on Windows if you're mocking API calls.
Integration tests are a little easier to write as they basically call your function an then verify what is returned or set through another means. They're much slower since they spin up an entire salt environment (master, sub-master, minion, sub-minion, syndic).
You can look at examples in
referenced this pull request
Nov 15, 2018
Oh, hey @tlemarchand - this is failing a test because you haven't added some required documentation. Can you fix that up?
No problem. I'll do that tomorrow or monday.