Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WaitForDisk: Add read-only parameter 'Available' #158

Closed
johlju opened this issue Jul 24, 2018 · 0 comments · Fixed by #175
Closed

WaitForDisk: Add read-only parameter 'Available' #158

johlju opened this issue Jul 24, 2018 · 0 comments · Fixed by #175
Labels
enhancement The issue is an enhancement request. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub help wanted The issue is up for grabs for anyone in the community.

Comments

@johlju
Copy link
Member

johlju commented Jul 24, 2018

Details of the scenario you tried and the problem that is occurring:
Suggest we add a read-only parameter to the WaitForDisk resource. That way the Get-TargetResource could call Test-TargetResource and return the result (the actual current state) of the disk in the property Available when calling Get-DscConfiguration.

Alternative names for the read-only property could be 'IsAvailable' or 'IsPresent'.

The DSC configuration that is using the resource (as detailed as possible):
n/a

Version of the Operating System and PowerShell the DSC Target Node is running:
n/a

Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub labels Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. good first issue The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant