Add configure_timeout attribute for the wsus_server_subscription :configure action #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Somewhat crude solution for #13 to allow for the timeout for the
:configure
action of thewsus_server_subscription
provider to be set through an attribute.I was seeing the same problem identified in the issue whereby the category synchronisation was not completing within the 300 seconds hardcoded by the
powershell_out64
method.This solution sets the default timeout for
powershellout_64
as 300 seconds, but allows for that to be overridden.In the case of
wsus_server_subscription
I pull that timeout from an attribute (which itself is defaulted to 900 seconds).