test-kitchen / kitchen-dsc

A DSC Provisioner for Test-Kitchen
Apache License 2.0
27 stars 8 forks source link

Suggestion: Allow raw mof input #27

Open RamblingCookieMonster opened 7 years ago

RamblingCookieMonster commented 7 years ago

Hi!

I've found a number of processes that use tooling to compile a mof, rather than an intermediary ps1 file. It may be helpful to allow some means to provide an mof file directly, rather than requiring ps1 input.

Presumably, you could look at the configuration_script path to identify this, or use to allow it as an alternative to configuration_script.

I do recognize that in some scenarios it might be preferable to run that tooling directly via shell provisioner, but could see both scenarios being helpful.

If this makes sense, I'd be happy to poke around and try my hand at Ruby : )

Cheers!

smurawski commented 7 years ago

@RamblingCookieMonster If you want to take a crack at it, go for it!