A configuration management refresher
A few weeks pass and you get an escalation call from the application team that your "DSC stuff" broke their application. A few minutes of investigation using the xDscResourceDiagnostics
module shows successful DSC executions that detected configuration drift and corrected it. After showing this to the application team, they eventually admit that they updated the configuration file used by the Apollo application with different values without telling you since they were used to deploying the application themselves.
Since you had set the LCM to ApplyAndAutoCorrect
, DSC detected the content difference in the file specified in $Node.Apollo.ConfigFilePath
and changed it back to the value you specified in $Node.Apollo.ConfigFileContents
in the DSC configuration data file, like it was designed to do. The application team didn't think that DSC would change the file; they thought it was a one-time-only installation tool. You explain that DSC is a configuration management...