My configuration file is:
Configuration DSCLinux02 { Import-DSCResource -Module nx Node "10.0.0.7" { nxPackage httpdInstall { Name = "httpd" Ensure = "Present" PackageManager = "Yum" } } }
My MOF is:
/* @TargetNode='10.0.0.7' @GeneratedBy=DomainAdmin @GenerationDate=04/28/2016 16:55:03 @GenerationHost=SA-DSC-SRV1 */ instance of MSFT_nxPackageResource as $MSFT_nxPackageResource1ref { ResourceID = "[nxPackage]httpdInstall"; Ensure = "Present"; SourceInfo = "::6::9::nxPackage"; Name = "httpd"; ModuleName = "nx"; PackageManager = "Yum"; ModuleVersion = "1.0"; }; instance of OMI_ConfigurationDocument { Version="1.0.0"; Author="DomainAdmin"; GenerationDate="04/28/2016 16:55:03"; GenerationHost="SA-DSC-SRV1"; };
My Error is:
Loading the instance document from the pending location did not succeed. + CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : OMI:MI_Result:1 + PSComputerName : 10.0.0.7