Module for extending the functionality of the nx resources
- nxFileContent: Provides a mechanism to edit file content.
- nxConfigSetting: Provides a mechanism to set config settings of apps/system based on a check.
Provides a mechanism to edit file content.
- This must be run on a Linux OS
- [String] Name (Write): The name of the DSC Resource (must be unique).
- [String] TestCommand (Write): The bash command to test for. Must return "pass" or "fail".
- [String] Filename (Write): The file to edit.
- [String] FileContent (Write): A string representing the content to write.
- [String] AppendCommand (Optional): The bash command to test whether the content should be edited in place or appended.
- [String] EditRegex (Optional): A regex string to replace with FileContent.
- [String] PostApplyCommand (Optional): A command to run after editing the file.
None
Provides a mechanism to set config settings of apps/system based on a check.
- This must be run on a Linux OS
- [String] Name (Write): The name of the DSC Resource (must be unique).
- [String] TestCommand (Write): The bash command to test for. The result is compared against TestRegex.
- [String] TestRegex (Write): The string containing regex to compare against.
- [String] FixCommands (Write): An array of strings representing bash commands to enforce.
None
- Initial release of LinuxResourcesDsc.
- Added nxConfigSetting