Playing with configNames and running into a bit of a pickle: the nodes appear to quietly do nothing. Bit of a journey but Ill give you the cliff’s notes:
After upgrading to WMF5.0 production preview, I started down the a (very) simple configname test: I took one of my existing mofs that was working in a “Traditional configurationID” format, renamed it and regenerated the checksum.
I then attempted to reconfigure a single node to see if I could get it to read this “friendly name”. So I pushed a “faux” config then deleted all the modules as I wanted to see them get pulled again. This way the client was silently “consistent” with my little dummy config.
I then configured the following configuration:
{ Settings { RefreshMode = "PULL"; RebootNodeIfNeeded = $true; AllowModuleOverwrite = $true; RefreshFrequencyMins = 30; ConfigurationModeFrequencyMins = 60; ConfigurationMode = "ApplyAndAutoCorrect"; } ConfigurationRepositoryWeb ConfigurationManager { ServerURL = 'https://dsc.lab.contoso.com:8080/PSDSCPullServer.svc' RegistrationKey = '***' ConfigurationNames = @("configtest") } }
On first run, applying the configuration failed. Repeat attempts would allow it to succeed, but nothing would seem to work properly. Luckily 5.0 RTM got released, so installing that over-the-top I then applied this little command gem below (thanks release notes):
mofcomp $env:windir\system32\wbem\DscCoreConfProv.mof
Bingo. I could now set-dsclocalconfiguration and pass. If I check event logs I can see the registration work, and an agentID get assigned. I appear to be in the clear.
That said, nothing appears to happen. Every 30 minutes, as per the configuration, I see a local update parse in the eventlogs, but I see the old “faux” config come back as consistent. NO modules are ever grabbed … no new config is ever downloaded.
Setting the ConfigurationID and renaming the mof to match instantly works as expected.
I’m guessing I’m missing something in the LCM configuration? But what? Again, the operationlog shows regular polling as configured, but whenever i get-dscconfiguration it continues to show my old push.