Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Resource updates #68

Merged
merged 6 commits into from Oct 9, 2014
Merged

Resource updates #68

merged 6 commits into from Oct 9, 2014

Conversation

dlwyatt
Copy link
Member

@dlwyatt dlwyatt commented Sep 8, 2014

Several resources were failing Test-cDscResource, and have been updated to address these failures.

There were also duplicate copies of just about every resource in the cSqlPs module, for some reason. I've removed the folders that had no prefix, leaving the PSHOrg_* resource folders intact.

On a side note, there is also a copy of cScriptResource in the cSqlPs module. Not sure what it's doing there. It's also not working properly at the moment, but I've left it alone until I understand why it's there in the first place.

I've been tweaking Test-cDscResource recently, and these tests were performed with the updated version. It's possible that some of the resources may not pass with the version that's currently up in the PowerShell.org repo. I'll be submitting a pull request with tooling updates soon.

Note:  Using an updated version of Test-cDscResource for this; that will be sent along in a separate pull request soon.
Updated cSqlServerInstall resource to pass Test-cDscResource.

Removed duplicate resources from the DSCResources folder; not sure why there were versions both with and without the PSHOrg prefix.

Not sure what a copy of cScriptResource is doing in here either, but I'll revisit that later.
Fixed several compilation errors due to missing newlines.  Resource now passes Test-cDscResource.
In testing, noticed that the LCM will fail to apply configurations if the Get-TargetResource method doesn't accept both key AND required properties from the schema.mof file as parameters.  cWebsite has been updated to reflect this.
dlwyatt added a commit that referenced this pull request Oct 9, 2014
@dlwyatt dlwyatt merged commit 2f303e1 into PowerShellOrg:master Oct 9, 2014
@dlwyatt dlwyatt deleted the ResourceUpdates branch October 9, 2014 02:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant