You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use Python classes with the same type of model as PowerShell classes with individual get(), set(), test(), export() methods and the class defines the schema that the adapter would validate against.
The text was updated successfully, but these errors were encountered:
It's probably a good idea to implement this as a python script that uses a module for defining and interacting with resources, so resource authors can leverage some shared code to define resources.
For example, we could define DscResource as an abstract class that authors could use - ensuring a common implementation surface that is documented and reusable. We could also provide the helpers for converting to/from JSON, emitting messages for DSC, retrieving manifest information, etc.
Summary of the new feature / enhancement
To make DSC successful on Linux, we probably need a Python adapter. The key part is to keep it idiomatic Python.
Proposed technical implementation details (optional)
We could use Python classes with the same type of model as PowerShell classes with individual
get()
,set()
,test()
,export()
methods and the class defines the schema that the adapter would validate against.The text was updated successfully, but these errors were encountered: