The FileContentDsc Module contains DSC Resources for setting the content of files. Configuration text files are the most common use case for this module.


Keywords
windows, puppetdsc, dsc
License
MIT
Install
puppet module install dsc-filecontentdsc --version 1.0.0-38-1

Documentation

FileContentDsc

Build Status Code Coverage Azure DevOps tests PowerShell Gallery (with prereleases) PowerShell Gallery

Code of Conduct

This project has adopted this code of conduct.

Releases

For each merge to the branch main a preview release will be deployed to PowerShell Gallery. Periodically a release version tag will be pushed which will deploy a full release to PowerShell Gallery.

Contributing

Please check out common DSC Community contributing guidelines.

Change log

A full list of changes in each version can be found in the change log.

Resources

This resource module contains resources for setting the content of files. Configuration text files are the most common use case for this module.

The FileContent module contains the following resources:

  • IniSettingsFile: Add, set or clear entries in Windows INI settings files.
  • KeyValuePairFile: Add, remove or set key/value pairs in a text file containing key/value pairs, and set file encoding.
  • ReplaceText: Replaces strings matching a regular expression in a file, and sets file encoding.

Documentation and Examples

For a full list of resources in FileContentDsc and examples on their use, check out the FileContentDsc wiki.