Skip to content

Conversation

schlitzered
Copy link
Contributor

Summary

dsc_timeout is used to set the timeout on how long puppet/powershell will wait on the execution of a command.
dsc_timeout is also passed as "timeout" to the DSC resource parameters itself.

but it seems like DSC resources do not have a timout parameter.

see also: #358

Related Issues (if any)

#358

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

sry, i am not a ruby guy, and i have no clue on how to write Spec/Acceptance tests.

@schlitzered schlitzered requested a review from a team as a code owner November 21, 2024 16:19
@CLAassistant
Copy link

CLAassistant commented Nov 21, 2024

CLA assistant check
All committers have signed the CLA.

@LukasAud
Copy link
Contributor

Hi @schlitzered, it looks like there is a few rubocop errors in this PR, could you address them?

@schlitzered
Copy link
Contributor Author

schlitzered commented Feb 12, 2025

Hi @schlitzered, it looks like there is a few rubocop errors in this PR, could you address them?

well the only check that complained was 43 instead of 42 lines in one function. i just removed one of the two comments i have added, and now the functions is back to 42 lines, and the check should be passing.

@schlitzered
Copy link
Contributor Author

okay, it is still failing. no clue why, the actual logic is only one line, if have no clue how i should make this any shorter.

@jordanbreen28
Copy link
Contributor

jordanbreen28 commented Feb 13, 2025

@schlitzered in niche cases like this it's absolutely fine to just add an exclusion, you can disable inline with # rubocop:disable Metrics/MethodLengthor try running
rubocop --auto-gen-config and push up the modified rubocop_todo

@jordanbreen28
Copy link
Contributor

@schlitzered thanks for picking up on this and submitting the PR to get the ball rolling, I've raised #366 rather than to go back and forth with you for rubocop fixes 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants