Sampler

0.109.0

Sample Module with Pipeline scripts and its Plaster template to create a module following some of the community accepted practices.

Minimum PowerShell version

5.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Sampler

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Gael Colas

Copyright

(c) Gael Colas. All rights reserved.

Owners

Tags

Template pipeline plaster DesiredStateConfiguration DSC DSCResourceKit DSCResource Windows MacOS Linux

Functions

Add-Sample New-SampleModule

Dependencies

Release Notes

## [0.109.0] - 2020-11-24

### Changed

- Updating all azure-pipeline.yaml to change Build Artifacts to Pipeline Artifacts ([issue #159](https://github.com/gaelcolas/Sampler/issues/159)).
- Update plasterManifest.xml call by New-SampleModule :
   - Add section modify to replace "FunctionsToExport = '*'" by "FunctionsToExport = ''" in new module manifest ([issue #67](https://github.com/gaelcolas/Sampler/issues/67)).
   - Add section modify to add "Prerelease = ''" in "PSData" block  in new module manifest ([issue #69](https://github.com/gaelcolas/Sampler/issues/69)).
- Changing ClassResource.
   - Add generic content in the class.
   - Add pester tests.
   - Add localizeddata.
   - Update plasterManifest.xml.
   - Add private functions.
   - Add pester tests.
   - Update Sampler integration tests.
- Changing the Reasons property in the classes based resource template. It's now NotConfigurable.
- Renamed Build_Module_ModuleBuilder task to Build_ModuleOutPut_ModuleBuilder.
 Build_Module_ModuleBuilder is now a metatask that calls
 Build_ModuleOutPut_ModuleBuilder and Build_DscResourcesToExport_ModuleBuilder tasks.

### Added

- Added new template ClassFolderResource
- Added new function Get-ClassBasedResourceName on Common.Functions.psm1 module.
 It's used to find the class-based resource defined in psm1 file.
- Added new task Build_DscResourcesToExport_ModuleBuilder.
 On build, it adds DscResources (class or Mof) in DscResourcesToExport manifest key.

### Fixed

- Fixed Test-ModuleManifest ([issue #208](https://github.com/gaelcolas/Sampler/issues/208))
 in tasks.

Version History

Version Downloads Last updated
0.109.0 (current version) 205 11/24/2020
0.109.0-prev... 4 11/24/2020
0.109.0-prev... 4 11/19/2020
0.109.0-prev... 5 11/18/2020
0.109.0-prev... 4 10/13/2020
0.108.0 693 9/14/2020
0.108.0-prev... 2 9/13/2020
0.108.0-prev... 2 9/13/2020
0.107.4-prev... 2 9/12/2020
0.107.4-prev... 2 9/11/2020
0.107.3 198 9/10/2020
0.107.3-prev... 2 9/10/2020
0.107.2 194 9/8/2020
0.107.2-prev... 2 9/8/2020
0.107.1 167 9/8/2020
0.107.1-prev... 2 9/7/2020
0.107.0 158 9/7/2020
0.107.0-prev... 2 9/7/2020
0.107.0-prev... 3 9/7/2020
0.106.1 196 8/30/2020
0.106.1-prev... 3 8/30/2020
0.106.0 176 8/30/2020
0.106.0-prev... 3 8/29/2020
0.106.0-prev... 11 8/21/2020
0.106.0-prev... 24 8/19/2020
0.106.0-prev... 4 8/18/2020
0.106.0-prev... 5 8/8/2020
0.105.7-prev... 8 7/11/2020
0.105.6 1,869 6/1/2020
0.105.6-prev... 3 6/1/2020
0.105.5 266 5/29/2020
0.105.5-prev... 3 5/29/2020
0.105.5-prev... 3 5/29/2020
0.105.4 161 5/29/2020
0.105.4-prev... 3 5/29/2020
0.105.4-prev... 3 5/28/2020
0.105.3 841 5/9/2020
0.105.3-prev... 3 5/9/2020
0.105.2 645 5/1/2020
0.105.2-prev... 3 5/1/2020
0.105.2-prev... 3 5/1/2020
0.105.2-prev... 3 4/24/2020
0.105.2-prev... 3 4/24/2020
0.105.1 464 4/24/2020
0.105.1-prev... 3 4/24/2020
0.105.0 288 4/21/2020
0.105.0-prev... 3 4/21/2020
0.105.0-prev... 3 4/18/2020
0.104.0 1,280 4/18/2020
0.104.0-prev... 3 4/18/2020
0.104.0-prev... 3 4/17/2020
0.103.0 196 4/17/2020
0.103.0-prev... 3 4/17/2020
0.102.1 1,321 2/21/2020
0.102.1-prev... 5 2/18/2020
0.102.1-prev... 5 2/18/2020
0.102.0 261 2/14/2020
0.102.0-prev... 5 2/14/2020
0.102.0-prev... 6 2/12/2020
0.101.0 239 2/10/2020
0.101.0-prev... 5 2/10/2020
0.101.0-prev... 5 2/7/2020
0.101.0-prev... 5 2/7/2020
0.100.0 440 2/1/2020
0.100.0-prev... 5 2/1/2020
0.99.4 378 1/22/2020
0.99.4-previ... 6 1/22/2020
0.99.4-previ... 6 1/22/2020
0.99.4-previ... 5 1/22/2020
0.99.3 169 1/21/2020
0.99.3-previ... 5 1/21/2020
0.99.2 287 1/16/2020
0.99.2-previ... 5 1/16/2020
0.99.1 142 1/16/2020
0.99.1-previ... 5 1/16/2020
0.99.1-previ... 7 1/9/2020
0.99.1-previ... 5 1/7/2020
0.99.1-previ... 5 1/7/2020
0.99.0 662 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 5 1/1/2020
0.99.0-previ... 9 12/28/2019
0.99.0-previ... 6 12/28/2019
0.99.0-previ... 5 12/26/2019
0.98.1 503 12/24/2019
0.98.1-previ... 5 12/24/2019
0.98.1-previ... 5 12/23/2019
0.98.0 179 12/22/2019
0.98.0-previ... 5 12/22/2019
0.98.0-previ... 6 12/21/2019
0.97.0 438 12/9/2019
0.97.0-previ... 5 12/9/2019
0.96.1-previ... 6 11/8/2019
0.96.1-previ... 5 11/5/2019
0.96.0 328 11/1/2019
0.96.0-previ... 5 11/1/2019
0.95.2-previ... 5 11/1/2019
0.95.1 178 11/1/2019
0.95.1-previ... 5 11/1/2019
0.95.1-previ... 5 11/1/2019
0.95.0 165 11/1/2019
0.95.0-previ... 5 11/1/2019
0.94.0 168 10/30/2019
0.94.0-previ... 5 10/30/2019
0.94.0-previ... 5 10/30/2019
0.93.3-previ... 5 10/30/2019
0.93.2 163 10/30/2019
0.93.2-previ... 5 10/30/2019
0.93.2-previ... 5 10/30/2019
0.93.2-previ... 4 10/29/2019
0.93.1 170 10/29/2019
0.93.1-previ... 5 10/29/2019
0.93.1-previ... 5 10/29/2019
0.93.0 163 10/29/2019
0.93.0-previ... 5 10/29/2019
0.93.0-previ... 5 10/29/2019
0.93.0-previ... 4 10/23/2019
0.93.0-previ... 4 10/23/2019
0.93.0-previ... 12 10/22/2019
0.93.0-previ... 7 10/20/2019
0.92.2-previ... 5 10/15/2019
0.92.1 191 10/15/2019
0.92.1-previ... 4 10/15/2019
0.92.0 162 10/15/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.92.0-previ... 4 10/14/2019
0.91.7-previ... 4 10/11/2019
0.91.6 164 10/11/2019
0.91.6-previ... 4 10/10/2019
0.91.6-previ... 4 10/10/2019
0.91.6-previ... 4 10/10/2019
0.89.7-previ... 4 10/10/2019