Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Support ConfigurationData hash as a parameter #8

Open
smurawski opened this issue Jun 16, 2016 · 3 comments
Open

Support ConfigurationData hash as a parameter #8

smurawski opened this issue Jun 16, 2016 · 3 comments

Comments

@smurawski
Copy link

Similar to #5 and #6, without being able to parameterize the tests, it can be difficult to share or reuse OVF test suites.

Since we've got the concept of a ConfigurationData hash in DSC, why not reuse that construct to provide data to OVF tests and build in support for $ConfigurationData, $AllNodes, and $Node.

@devblackops
Copy link
Contributor

I'm a little unclear on how the the Pester tests would have to be constructed to support the
ConfigurationData format. Maybe an example? If the Pester tests are designed to test the local machine, what would $Allnodes and $Node do?

@smurawski
Copy link
Author

@devblackops Take AD for example -If the machine were configured with DSC, you could use the NodeName to filter allnodes to find your specific instance, in allnodes. And based on the role or other data, you could identify what other domain controllers should be in the environment, test site links, check replication, etc.. Since your configurationdata should represent both the current node and the environment, you have all the data you should need to work with.

@rchaganti
Copy link

Take a look at https://github.com/DexterPOSH/PSRemotely. We have DSC style configuration data support.

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

No branches or pull requests

3 participants