Hello
I am trying to implement DSC in push mode, using a ResourceRepositoryShare to download powershell modules.
My LCM config is really simple:
[DSCLocalConfigurationManager()]
Configuration PlatformLCMConfig
{
Node $AllNodes.NodeName
{
Settings
{
RefreshMode = 'Push'
# A configuration Id needs to be specified, known bug
ConfigurationID = '3a15d863-bd25-432c-9e45-9199afecde91'
}
ResourceRepositoryShare FileShare
{
SourcePath = "\\dcfs\DscModules\"
}
}
}
However after I Publish-DscConfiguration (works OK), I see this error after Start-DscConfiguration -UseExisting -Wait -Verbose:
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ApplyConfiguration,'className'
= MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer AIS2-b95 with user sid S-1-5-21-1301489009-2575183415-109161302-500.
VERBOSE: [AIS2-b95]: [] Starting consistency engine.
VERBOSE: [AIS2-b95]: [] A pending configuration exists. DSC will process a set request on
the pending configuration.
VERBOSE: [AIS2-b95]: [] Consistency check completed.
The PowerShell DSC resource cTentacleAgent from module does not exist at the PowerShell module
path nor is it registered as a WMI DSC resource. LCM failed to start desired state configuration manually.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : DscResourceNotFound
+ PSComputerName : localhost
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.849 seconds
I am using composite configurations, but I have used the same config with the LCM in pull mode using tug as the pull server and the modules and configuration downloaded fine.
Using sysinternals procmon I can see that no attempt is made to connect to my dsc module share. I can only see the LCM process checking $env:PsModulePath for modules.
Is there anything else I can do to troubleshoot this? I feel like I must be missing something really basic.