The day that people who love both PowerShell DSC and xplat solutions where looking for had finally arrived. Last week the first version of PowerShell DSC for Linux was released. The information we have so far is based either on the release description that can be found in the official PowerShell DSC for Linux repository on GitHub or information shared in the Release Notes published to Microsoft Download Center.
The most important changes:
- support for Pull mode is added, including support for partial configurations
- number of resources available got doubled – currently there are 10, including nxArchive, nxEnvironment, nxFile, nxFileLine, nxGroup, nxPackage, nxScript, nxService, nxSshAuthorizedKeys, and nxUser
- new version is available in package form, both as rpm and as deb
CTP had several issues (you could read about these issues in the series about using DSC for Linux in PowerShell Magazine) but most of them are fixed in this release:
- unlike CTP, this release works fine with WMF 4.0 and WMF 5.0, including April preview of latter (no need to clean up your MOF after it’s compiled)
- problem with configuration drift not being fixed is resolved
- schema for nxFile resource in nx module matches the one on the Linux box
If you prefer to use packages when installing software on Linux system you may also want to visit Open Group page, where you will find a package for OMI. That is the main change in OMI 126.96.36.199. If you just want to play with PowerShell DSC for Linux without investing too much time in getting compiler and libraries to work, that may be the best option for you. You can expect more details about PowerShell DSC for Linux from us soon, once we spent enough time
breaking testing it!