dsccommunity / ConfigMgrCBDsc

This module contains DSC resources for the management and configuration of Microsoft System Center Configuration Manager Current Branch (ConfigMgrCB).
MIT License
27 stars 8 forks source link

CMIniFile: Is the resource IniSettingsFile an alternative #28

Closed johlju closed 3 years ago

johlju commented 4 years ago

I suggest looking in if the resource IniSettingsFile in the FileContentDsc resource is an alternative to this resource. See documentation here: https://github.com/dsccommunity/FileContentDsc/wiki/IniSettingsFile

There might be a design choice to have a dedicated resource for modifying an ini file, then this is not relevant. 🙂

rchristman89 commented 4 years ago

@johlju Didn't notice that resource. We could utilize that resource. With the CMIniFile it has the specifics that are need for the SCCM install. I like seeing all the options but I could see both ways.

johlju commented 4 years ago

You might be able to wrap the IniSettingsFile in a composite resource in which you can have the parameters? 🤔

johlju commented 4 years ago

I'm not familiar with the SCCM ini file so I can't say my suggesting is a good option. The community can decide. 😄

rchristman89 commented 4 years ago

@jeffotterpohl and @NEllis280 what are your thoughts. I could change that into a composite the only con I can think of is another module that would be needed.

rchristman89 commented 3 years ago

Going to close this since this module is getting updated and is then included in the module.