Closed vincent-aguillaume closed 7 years ago
@vincent-aguillaume I'm not super experienced but this works on my Vagrant 2008 box, what error are you seeing?
I believe Get-WindowsFeature only works on Windows Server 2008 R2 onwards. I remember having to add another installation method for Windows 2008 (non-R2) when using this module.
I see the point, it says it supports Windows 2008 (non R2), Windows 2008 (non R2) doesn't have a PowerShell interface to install windows features
I whipped up support for Windows 2008 non R2 @ https://github.com/NetworkBytes/puppet-windowsfeature hasn't been properly tested yet, will PR once Ive had the time to test it out
I think this issue can be closed, as the new windowsfeature uses convert-to-xml, instead of json
This is an old issue but going to verify this now.
Yes this indeed doesn't work on Windows 2008 non-r2 currently. As @vincent-aguillaume stated, get-windowsfeature doesn't even exist.
@ghost Not sure if you're still alive since this is so old but your PR is way outdated and since then this module has been converted to using custom types and providers. I will mark this as something that could be added in the future. For now i'm going to update the metadata.json for this project.
Remove Windows 2008 support from the README / Limitations.