├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── Docs ├── OMI-1.0.8-2_ReleaseNotes ├── PowerShell DSC for Linux Release Notes 1.1.docx ├── PowerShell DSC for Linux Release Notes 1.1.pdf ├── nxComputerManagement_DSCResources.docx ├── nxComputerManagement_DSCResources.pdf ├── nxNetworking_DSCResources.docx └── nxNetworking_DSCResources.pdf ├── LCM ├── .prefix ├── Base_Inventory.mof ├── GNUmakefile ├── codec │ ├── common │ │ └── micodec.h │ └── mof │ │ ├── GNUmakefile │ │ ├── buf.c │ │ ├── buf.h │ │ ├── codecimpl.c │ │ ├── codecimpl.h │ │ ├── dllmain.c │ │ ├── instanceutil.c │ │ ├── instanceutil.h │ │ ├── mofcodec.c │ │ ├── mofcodec.def │ │ ├── mofcodec.rc │ │ ├── mofserializer.c │ │ ├── parser │ │ ├── GNUmakefile │ │ ├── buffer.c │ │ ├── buffer.h │ │ ├── config.h │ │ ├── errorhandler.h │ │ ├── instancedecl.h │ │ ├── mof.qualifiers.h │ │ ├── mof.y │ │ ├── mofcommon.h │ │ ├── mofhash.c │ │ ├── mofhash.h │ │ ├── moflex.c │ │ ├── mofparser.c │ │ ├── mofparser.h │ │ ├── moftoken.h │ │ ├── mofy.redef.h │ │ ├── mofy.tab.c │ │ ├── mofy.tab.h │ │ ├── mofyacc.c │ │ ├── mofyacc.h │ │ ├── ptrarray.c │ │ ├── ptrarray.h │ │ ├── state.h │ │ ├── stringids.h │ │ ├── types.c │ │ ├── types.h │ │ ├── utility.c │ │ ├── utility.h │ │ ├── wmiqualifiers.mof │ │ └── yacccmd.txt │ │ ├── sources.inc │ │ ├── strings.c │ │ ├── strings.h │ │ ├── strset.c │ │ └── strset.h ├── config.mak ├── dsc │ ├── common │ │ └── inc │ │ │ ├── CIM_Error.h │ │ │ ├── CIM_ManagedElement.h │ │ │ ├── DSC_Systemcalls.h │ │ │ ├── MSFT_BaseCredential.h │ │ │ ├── MSFT_BaseResourceConfiguration.h │ │ │ ├── MSFT_Credential.h │ │ │ ├── MSFT_DSCLocalConfigManager.h │ │ │ ├── MSFT_DSCLocalConfigurationManager.h │ │ │ ├── MSFT_DSCMetaConfiguration.h │ │ │ ├── MSFT_DSCWebPullClient.h │ │ │ ├── MSFT_KeyValuePair.h │ │ │ ├── MSFT_LogResource.h │ │ │ ├── MSFT_ModuleSpecification.h │ │ │ ├── MSFT_PartialConfiguration.h │ │ │ ├── MSFT_WebDownloadManager.h │ │ │ ├── MSFT_WindowsCredential.h │ │ │ ├── OMI_BaseResource.h │ │ │ ├── OMI_ConfigurationDownloadManager.h │ │ │ ├── OMI_Error.h │ │ │ ├── OMI_MetaConfigurationResource.h │ │ │ ├── OMI_ReportManager.h │ │ │ ├── OMI_ResourceModuleManager.h │ │ │ └── dsc_sal.h │ ├── engine │ │ ├── ConfigurationManager │ │ │ ├── BeginEndLcmOperation.c │ │ │ ├── BeginEndLcmOperation.h │ │ │ ├── GNUmakefile │ │ │ ├── LocalConfigManagerHelper.c │ │ │ ├── LocalConfigManagerHelper.h │ │ │ ├── LocalConfigManagerHelperForCA.h │ │ │ ├── LocalConfigManagerTaskStrings.h │ │ │ ├── LocalConfigurationManager.c │ │ │ ├── LocalConfigurationManager.h │ │ │ ├── MSFT_DSCLocalConfigManager.c │ │ │ ├── MSFT_DSCLocalConfigurationManager.c │ │ │ ├── MSFT_DSCMetaConfiguration.c │ │ │ ├── MSFT_DSCWebPullClient.c │ │ │ ├── OMI_LocalConfigManagerHelper.c │ │ │ ├── OMI_LocalConfigManagerHelper.h │ │ │ ├── RegistrationManager.c │ │ │ ├── RegistrationManager.h │ │ │ ├── RegistrationManagerHelper.c │ │ │ ├── RegistrationManagerHelper.h │ │ │ ├── WebPullClientInvoker.c │ │ │ ├── WebPullClientInvoker.h │ │ │ ├── common.h │ │ │ ├── hashmap.c │ │ │ ├── hashmap.h │ │ │ ├── omi_schema.c │ │ │ ├── palcommon.h │ │ │ └── schema.c │ │ ├── ConsistencyInvoker │ │ │ ├── ConsistencyInvoker.c │ │ │ └── GNUmakefile │ │ ├── EngineHelper │ │ │ ├── EngineHelper.c │ │ │ ├── EngineHelper.h │ │ │ ├── EngineHelperInternal.h │ │ │ ├── EventWrapper.c │ │ │ ├── EventWrapper.h │ │ │ ├── GNUmakefile │ │ │ ├── PAL_Extension.Format.Placeholders.h │ │ │ ├── PAL_Extension.c │ │ │ ├── PAL_Extension.h │ │ │ ├── PAL_Extension.rc.inc │ │ │ ├── Resources_LCM.h │ │ │ ├── instanceutil.c │ │ │ └── instanceutil.h │ │ ├── ModuleLoader │ │ │ └── ModuleLibrary │ │ │ │ ├── GNUmakefile │ │ │ │ ├── ModuleHandler.c │ │ │ │ ├── ModuleHandler.h │ │ │ │ ├── ModuleHandlerInternal.h │ │ │ │ ├── ModuleValidator.c │ │ │ │ └── ModuleValidator.h │ │ ├── ca │ │ │ ├── CAInfrastructure │ │ │ │ ├── CAEngine.c │ │ │ │ ├── CAEngine.h │ │ │ │ ├── CAEngineInternal.h │ │ │ │ ├── CAValidate.c │ │ │ │ ├── CAValidate.h │ │ │ │ ├── GNUmakefile │ │ │ │ ├── NativeResourceHostMiContext.c │ │ │ │ ├── NativeResourceHostMiContext.h │ │ │ │ ├── NativeResourceManager.c │ │ │ │ ├── NativeResourceManager.h │ │ │ │ ├── NativeResourceProviderMiModule.c │ │ │ │ ├── NativeResourceProviderMiModule.h │ │ │ │ ├── ProviderCallbacks.c │ │ │ │ ├── ProviderCallbacks.h │ │ │ │ ├── WebPullClient.c │ │ │ │ └── WebPullClient.h │ │ │ ├── CALogInfrastructure │ │ │ │ ├── CALog.c │ │ │ │ ├── CALog.h │ │ │ │ └── GNUmakefile │ │ │ ├── psinfrastructure │ │ │ │ └── PsPluginManager.cs │ │ │ └── psinfrastructurenative │ │ │ │ ├── CAPSProviderHandlerAdapter.cpp │ │ │ │ ├── CAPSProviderHandlerAdapter.h │ │ │ │ └── Dscpspluginwkr.def │ │ ├── dsc_host │ │ │ ├── GNUmakefile │ │ │ ├── dsc_host.c │ │ │ └── dsc_host.h │ │ ├── dsc_library │ │ │ ├── GNUmakefile │ │ │ ├── dsc_library.c │ │ │ └── dsc_library.h │ │ ├── eventing │ │ │ └── oidsc.h │ │ ├── lcm │ │ │ ├── GNUmakefile │ │ │ ├── lcm.traps.c │ │ │ ├── lcm.traps.h │ │ │ ├── module.c │ │ │ ├── resource.h │ │ │ ├── sources.inc │ │ │ ├── strings.h │ │ │ ├── strings.inc │ │ │ └── strings.rc │ │ └── mof │ │ │ ├── MSFT_Credential.mof │ │ │ ├── MSFT_DSCLocalConfigManager.mof │ │ │ ├── MSFT_DSCMetaConfiguration.mof │ │ │ ├── MSFT_DSCMetaConfigurationbak.mof │ │ │ ├── MSFT_DSCResource.mof │ │ │ ├── MSFT_DSCWebPullClient.mof │ │ │ ├── MSFT_KeyValuePair.mof │ │ │ ├── MSFT_PartialConfiguration.mof │ │ │ ├── MSFT_Qualifiers.mof │ │ │ ├── OMI_BaseResource.mof │ │ │ ├── OMI_ConfigurationDownloadManager.mof │ │ │ ├── OMI_MetaConfigurationResource.mof │ │ │ ├── OMI_ReportManager.mof │ │ │ ├── OMI_ResourceModuleManager.mof │ │ │ ├── codegen.txt │ │ │ ├── mofcomp.ps1 │ │ │ ├── non-win │ │ │ ├── MSFT_DSCLocalConfigManager.mof │ │ │ ├── MSFT_LogResource.mof │ │ │ └── codegen.txt │ │ │ └── qualifiers.mof │ ├── makefile.cmn │ ├── mof │ │ ├── DscCoreConfProv.dll.mui.mflt │ │ ├── DscCoreConfProv.mfl │ │ ├── DscCoreConfProv.mof │ │ ├── MSFT_BaseResourceConfiguration.mof │ │ ├── MSFT_BaseResourceConfigurationUE.mfl │ │ ├── MSFT_BaseResourceConfigurationUE.mof │ │ ├── MSFT_Credential.mof │ │ ├── MSFT_DSCLocalConfigManager.mof │ │ ├── MSFT_DSCMetaConfiguration.mfl │ │ ├── MSFT_DSCMetaConfiguration.mof │ │ ├── MSFT_FileDirectoryConfiguration.registration.mfl │ │ ├── MSFT_FileDirectoryConfiguration.registration.mof │ │ ├── MSFT_FileDirectoryConfiguration.schema.mfl │ │ ├── MSFT_FileDirectoryConfiguration.schema.mof │ │ ├── MSFT_LogResource.registration.mof │ │ ├── MSFT_LogResource.schema.mfl │ │ ├── MSFT_LogResource.schema.mof │ │ ├── MSFT_PartialConfiguration.mof │ │ ├── MSFT_RoleResource.schema.mfl │ │ ├── MSFT_RoleResource.schema.mof │ │ ├── MSFT_ScriptBlockResource.schema.mfl │ │ ├── MSFT_ScriptBlockResource.schema.mof │ │ ├── MSFT_ScriptResource.schema.mfl │ │ ├── MSFT_ScriptResource.schema.mof │ │ ├── OMI_BaseResourceUE.mfl │ │ ├── OMI_BaseResourceUE.mof │ │ ├── OMI_ConfigurationDownloadManager.mof │ │ ├── codegen.txt │ │ ├── dsccore.dll.mui.mflt │ │ ├── dsccore.mfl │ │ ├── dsccore.mof │ │ └── dsccore_namespace.txt │ └── tests │ │ ├── Engine │ │ ├── CA │ │ │ ├── DependencyResolver1.mof │ │ │ ├── DependencyResolver10.mof │ │ │ ├── DependencyResolver11.mof │ │ │ ├── DependencyResolver12.mof │ │ │ ├── DependencyResolver2.mof │ │ │ ├── DependencyResolver3.mof │ │ │ ├── DependencyResolver4.mof │ │ │ ├── DependencyResolver5.mof │ │ │ ├── DependencyResolver6.mof │ │ │ ├── DependencyResolver7.mof │ │ │ ├── DependencyResolver8.mof │ │ │ ├── DependencyResolver9.mof │ │ │ ├── GNUmakefile │ │ │ ├── nits.test_ca.dll.xml │ │ │ ├── test_ca.cpp │ │ │ ├── test_ca.rc │ │ │ └── testinstance.mof │ │ ├── DSCTestProviders.mak │ │ ├── E2E │ │ │ ├── GNUmakefile │ │ │ ├── NITS.test_EngineE2E.dll.xml │ │ │ ├── testLCMGet.mof │ │ │ ├── testLCMGet2.mof │ │ │ ├── test_EngineE2E.cpp │ │ │ └── test_EngineE2E.rc │ │ ├── Eventing │ │ │ ├── EventUnitTestCleanup.ps1 │ │ │ ├── EventUnitTestE2E.ps1 │ │ │ ├── NITS.TestDscEventing.dll.xml │ │ │ └── testevent.cpp │ │ ├── GNUmakefile │ │ ├── LCM │ │ │ ├── GNUmakefile │ │ │ ├── LCMTests.cpp │ │ │ ├── LCMTests.rc │ │ │ ├── Result_crontab │ │ │ ├── TestNonDependent_1.mof │ │ │ ├── TestNonDependent_2.mof │ │ │ ├── TestNonDependent_3.mof │ │ │ ├── TestNonDependent_4.mof │ │ │ ├── TestNonDependent_5.mof │ │ │ ├── Test_Stop.mof │ │ │ ├── Test_crontab1 │ │ │ ├── Test_crontab2 │ │ │ ├── testLCM.mof │ │ │ ├── testLCM2.mof │ │ │ └── testLCM3User.mof │ │ ├── ModuleLoader │ │ │ ├── GNUmakefile │ │ │ ├── testModuleLoader.mof │ │ │ ├── testModuleLoader2.mof │ │ │ ├── test_moduleloader.cpp │ │ │ └── test_moduleloader.rc │ │ ├── TestFileProvider │ │ │ ├── FileImp.c │ │ │ ├── FileImp.h │ │ │ ├── GNUmakefile │ │ │ ├── MSFT_Credential.h │ │ │ ├── MSFT_FileDirectoryConfiguration.c │ │ │ ├── MSFT_FileDirectoryConfiguration.h │ │ │ ├── MSFT_FileDirectoryConfiguration.registration.mof │ │ │ ├── MSFT_FileDirectoryConfiguration.schema.mof │ │ │ ├── OMI_BaseResource.h │ │ │ ├── fileprovidermofgen.txt │ │ │ ├── module.c │ │ │ └── schema.c │ │ └── TestProvider │ │ │ ├── GNUmakefile │ │ │ ├── Generate.txt │ │ │ ├── MSFT_BaseResourceConfiguration.h │ │ │ ├── NITS.TestDSCProvider.dll.xml │ │ │ ├── OMI_BaseResource.h │ │ │ ├── Provider.DEF │ │ │ ├── TEST_Stop.c │ │ │ ├── TEST_Stop.h │ │ │ ├── TEST_Test1.c │ │ │ ├── TEST_Test1.h │ │ │ ├── TEST_Test2.c │ │ │ ├── TEST_Test2.h │ │ │ ├── TEST_Test4NoOMI.c │ │ │ ├── TEST_Test4NoOMI.h │ │ │ ├── TestDSCProvider.rc │ │ │ ├── Test_Test.mof │ │ │ ├── Test_Test3User.c │ │ │ ├── Test_Test3User.h │ │ │ ├── WMIAdapter.c │ │ │ ├── module.c │ │ │ ├── schema.c │ │ │ └── strings.rc │ │ ├── Module │ │ ├── Reg │ │ │ ├── OMI_Test2ResourceModule │ │ │ │ └── Test2Resource.registration.mof │ │ │ ├── OMI_Test3UserResourceModule │ │ │ │ └── Test3UserResource.registration.mof │ │ │ ├── OMI_TestResourceModule │ │ │ │ └── TestResource.registration.mof │ │ │ ├── OMI_TestStopResourceModule │ │ │ │ └── TestStopResource.registration.mof │ │ │ ├── Test2ResourceModule │ │ │ │ └── Test2Resource.registration.mof │ │ │ ├── Test3UserResourceModule │ │ │ │ └── Test3UserResource.registration.mof │ │ │ ├── Test4NoOMIResourceModule │ │ │ │ └── Test4NoOMIResource.registration.mof │ │ │ ├── TestResourceModule │ │ │ │ └── TestResource.registration.mof │ │ │ └── TestStopResourceModule │ │ │ │ └── TestStopResource.registration.mof │ │ └── Sch │ │ │ ├── Test2ResourceModule │ │ │ └── Test2Resource.schema.mof │ │ │ ├── Test3UserResourceModule │ │ │ └── Test3UserResource.schema.mof │ │ │ ├── Test4NoOMIResourceModule │ │ │ └── Test4NoOMIResource.schema.mof │ │ │ ├── TestResourceModule │ │ │ └── TestResource.schema.mof │ │ │ └── TestStopResourceModule │ │ │ └── TestStopResource.schema.mof │ │ ├── common │ │ └── NitsPriority.h │ │ ├── nonWin │ │ └── nitsdscargs.txt │ │ └── providers │ │ └── nativeproviders │ │ ├── FileE2E.ps1 │ │ ├── FileUnitTestCleanup.ps1 │ │ ├── FileUnitTestCredentialCleanup.ps1 │ │ ├── FileUnitTestCredentialSetup.ps1 │ │ ├── FileUnitTestGetOperationCleanup.ps1 │ │ ├── FileUnitTestGetOperationSetup.ps1 │ │ ├── FileUnitTestRecursiveGetOperationSetup.ps1 │ │ ├── FileUnitTestSetOperationSetup.ps1 │ │ ├── FileUnitTestSetOperationVerify.ps1 │ │ ├── FileUnitTestTestOperationCleanup.ps1 │ │ ├── FileUnitTestTestOperationSetup.ps1 │ │ ├── NITS.TestDscCoreProv.dll.xml │ │ ├── SetFileDirectory.cdxml │ │ ├── TestDscCoreProv.rc │ │ ├── TestHelper.cpp │ │ ├── resource.h │ │ ├── testfile.cpp │ │ └── testfile.h ├── dsccore.reg ├── gen │ ├── dsccore │ │ ├── MSFT_Credential.mof │ │ ├── MSFT_DSCLocalConfigManager.mof │ │ ├── MSFT_DSCMetaConfiguration.mof │ │ ├── MSFT_DSCMetaConfigurationbak.mof │ │ ├── MSFT_DSCResource.mof │ │ ├── MSFT_DSCWebPullClient.mof │ │ ├── MSFT_KeyValuePair.mof │ │ ├── MSFT_PartialConfiguration.mof │ │ ├── MSFT_Qualifiers.mof │ │ ├── OMI_BaseResource.mof │ │ ├── OMI_ConfigurationDownloadManager.mof │ │ ├── OMI_MetaConfigurationResource.mof │ │ ├── OMI_ReportManager.mof │ │ ├── OMI_ResourceModuleManager.mof │ │ ├── mycodegen.txt │ │ ├── qualifiers.mof │ │ └── strings.rc │ └── nxservice_and_nxpackage │ │ ├── MSFT_Qualifiers.mof │ │ ├── MSFT_nxPackageResource.mof │ │ ├── MSFT_nxServiceResource.mof │ │ ├── OMI_BaseResource.mof │ │ ├── mycodegen.txt │ │ ├── qualifiers.mof │ │ └── strings.rc ├── json_parson │ ├── GNUmakefile │ ├── LICENSE │ ├── Makefile.orig │ ├── README.md │ ├── package.json │ ├── parson.c │ ├── parson.h │ ├── test │ ├── testcpp │ ├── tests.c │ └── tests │ │ ├── test_1_1.txt │ │ ├── test_1_2.txt │ │ ├── test_1_3.txt │ │ ├── test_2.txt │ │ ├── test_2_comments.txt │ │ ├── test_2_pretty.txt │ │ └── test_5.txt ├── keys │ ├── dscgpgkey.asc │ └── msgpgkey.asc ├── omiutils │ ├── CIM_Error.h │ ├── GNUmakefile │ ├── OMI_DebugError.h │ ├── OMI_Error.h │ ├── errors.c │ ├── errors.h │ ├── errorswrap.c │ ├── mofs │ │ ├── OMI_Errors.mof │ │ └── gen.mof │ ├── omiutils.c │ ├── omiutils.h │ └── sources.inc ├── omsconfig.reg └── scripts │ ├── GetDscConfiguration.py │ ├── GetDscLocalConfigurationManager.py │ ├── ImportGPGKey.sh │ ├── InstallModule.py │ ├── OMS_MetaConfigHelper.py │ ├── OmsConfigHostHelpers.py │ ├── OperationStatusUtility.py │ ├── PerformInventory.py │ ├── PerformRequiredConfigurationChecks.py │ ├── RegenerateInitFiles.py │ ├── Register.py │ ├── RegisterHelper.sh │ ├── RemoveModule.py │ ├── RestoreConfiguration.py │ ├── SetDscLocalConfigurationManager.py │ ├── StartDscConfiguration.py │ ├── StatusReport.sh │ ├── TestDscConfiguration.py │ ├── calcPythonPath.sh │ ├── omi_preexec.sh │ └── python3 │ ├── GetDscConfiguration.py │ ├── GetDscLocalConfigurationManager.py │ ├── ImportGPGKey.sh │ ├── InstallModule.py │ ├── OMS_MetaConfigHelper.py │ ├── OmsConfigHostHelpers.py │ ├── OperationStatusUtility.py │ ├── PerformInventory.py │ ├── PerformRequiredConfigurationChecks.py │ ├── RegenerateInitFiles.py │ ├── Register.py │ ├── RegisterHelper.sh │ ├── RemoveModule.py │ ├── RestoreConfiguration.py │ ├── SetDscLocalConfigurationManager.py │ ├── StartDscConfiguration.py │ ├── StatusReport.sh │ ├── TestDscConfiguration.py │ └── omi_preexec.sh ├── Makefile ├── Providers ├── Extras │ ├── Configuration_MOFs │ │ ├── nxFile_1.mof │ │ ├── nxGroup_1.mof │ │ ├── nxScript_1.mof │ │ ├── nxService_1.mof │ │ └── nxUser_1.mof │ ├── Example DSCs │ │ └── nxFileExample1.ps1 │ ├── Provider_gen │ │ ├── MSFT │ │ │ ├── MSFT_Credential.mof │ │ │ ├── MSFT_Qualifiers.mof │ │ │ └── OMI_BaseResource.mof │ │ ├── nxFile.mof │ │ ├── nxGroup.mof │ │ ├── nxScript.mof │ │ ├── nxService.mof │ │ ├── nxUser.mof │ │ └── script.txt │ ├── Scripts │ │ ├── File_Configuration_test1.ps1 │ │ ├── GetConfiguration.ps1 │ │ ├── SendConfigurationApply.ps1 │ │ ├── agentid.txt │ │ ├── base_dsc.conf │ │ ├── exec_dsc_mof.py │ │ ├── logrotate.conf │ │ └── omsconfig_logrotate.conf │ ├── Threat Model │ │ ├── DSC for Linux report.htm │ │ ├── DSC for Linux.tm4 │ │ └── Previous generation threat model.tm4 │ ├── Windows Module │ │ ├── Linux │ │ │ ├── DSCResources │ │ │ │ └── Linux_File │ │ │ │ │ └── Linux_File.schema.mof │ │ │ └── Linux.psd1 │ │ └── README.txt │ └── nx Windows Powershell Module │ │ ├── nx │ │ ├── DSCResources │ │ │ ├── MSFT_nxArchiveResource │ │ │ │ └── MSFT_nxArchiveResource.schema.mof │ │ │ ├── MSFT_nxAvailableUpdates │ │ │ │ └── MSFT_nxAvailableUpdatesResource.schema.mof │ │ │ ├── MSFT_nxEnvironmentResource │ │ │ │ └── MSFT_nxEnvironmentResource.schema.mof │ │ │ ├── MSFT_nxFileLineResource │ │ │ │ └── MSFT_nxFileLineResource.schema.mof │ │ │ ├── MSFT_nxFileResource │ │ │ │ └── MSFT_nxFileResource.schema.mof │ │ │ ├── MSFT_nxGroupResource │ │ │ │ └── MSFT_nxGroupResource.schema.mof │ │ │ ├── MSFT_nxPackageResource │ │ │ │ └── MSFT_nxPackageResource.schema.mof │ │ │ ├── MSFT_nxScriptResource │ │ │ │ └── MSFT_nxScriptResource.schema.mof │ │ │ ├── MSFT_nxServiceResource │ │ │ │ └── MSFT_nxServiceResource.schema.mof │ │ │ ├── MSFT_nxSshAuthorizedKeysResource │ │ │ │ └── MSFT_nxSshAuthorizedKeysResource.schema.mof │ │ │ └── MSFT_nxUserResource │ │ │ │ └── MSFT_nxUserResource.schema.mof │ │ ├── Readme.txt │ │ └── nx.psd1 │ │ ├── nxComputerManagement │ │ ├── DSCResources │ │ │ └── MSFT_nxComputerResource │ │ │ │ └── MSFT_nxComputerResource.schema.mof │ │ └── nxComputerManagement.psd1 │ │ └── nxNetworking │ │ ├── DSCResources │ │ ├── MSFT_nxDNSServerAddressResource │ │ │ └── MSFT_nxDNSServerAddressResource.schema.mof │ │ ├── MSFT_nxFirewallResource │ │ │ └── MSFT_nxFirewallResource.schema.mof │ │ └── MSFT_nxIPAddressResource │ │ │ └── MSFT_nxIPAddressResource.schema.mof │ │ └── nxNetworking.psd1 ├── Makefile ├── Modules │ ├── NPM │ │ ├── Agent │ │ │ ├── 32 │ │ │ │ └── npmd_agent_x32 │ │ │ ├── 64 │ │ │ │ ├── PingEngine.so │ │ │ │ ├── npmd_agent_x64 │ │ │ │ └── zlib.so │ │ │ └── LICENSE.txt │ │ └── Plugin │ │ │ ├── conf │ │ │ └── npmd.conf │ │ │ └── plugin │ │ │ ├── in_npmd_server.rb │ │ │ └── npmd_config_lib.rb │ ├── Plugins │ │ ├── Antimalware │ │ │ ├── conf │ │ │ │ └── antimalware.conf │ │ │ └── plugin │ │ │ │ ├── antimalware_lib.rb │ │ │ │ ├── antimalwarecommon.rb │ │ │ │ ├── collectantimalwareinfo.rb │ │ │ │ ├── collectdefenderinfo.rb │ │ │ │ ├── collectmcafeeinfo.rb │ │ │ │ ├── collectsophosinfo.rb │ │ │ │ └── filter_antimalware.rb │ │ ├── ChangeTracking │ │ │ └── plugin │ │ │ │ ├── change_tracking_runner.rb │ │ │ │ ├── changetracking_lib.rb │ │ │ │ └── filter_changetracking.rb │ │ ├── Common │ │ │ ├── conf │ │ │ │ └── omi_mapping.json │ │ │ └── plugin │ │ │ │ └── out_oms_changetracking_file.rb │ │ ├── DockerBaseline │ │ │ ├── conf │ │ │ │ └── docker_security_baseline.conf │ │ │ └── plugin │ │ │ │ └── oms_docker_audits.xml │ │ ├── Nagios │ │ │ ├── conf │ │ │ │ └── nagios.conf │ │ │ └── plugin │ │ │ │ └── filter_nagios_log.rb │ │ ├── PatchManagement │ │ │ ├── conf │ │ │ │ ├── patch_management.conf │ │ │ │ ├── patch_management_inventory.mof │ │ │ │ └── update_management.conf │ │ │ └── plugin │ │ │ │ ├── filter_patch_management.rb │ │ │ │ └── patch_management_lib.rb │ │ ├── ProcessInvestigator │ │ │ ├── conf │ │ │ │ └── process_investigator.conf │ │ │ └── plugin │ │ │ │ ├── filter_process_investigator.rb │ │ │ │ └── process_investigator_lib.rb │ │ ├── SecurityBaseline │ │ │ ├── conf │ │ │ │ └── security_baseline.conf │ │ │ └── plugin │ │ │ │ ├── SecurityBaselineVersion.txt │ │ │ │ ├── asc_audits.xml │ │ │ │ ├── cis_audits.xml │ │ │ │ ├── common_audits.xml │ │ │ │ ├── filter_security_baseline.rb │ │ │ │ ├── security_baseline_lib.rb │ │ │ │ └── ssh_audits.xml │ │ ├── ServiceChangeTracking │ │ │ ├── conf │ │ │ │ ├── service_change_tracking.conf │ │ │ │ └── service_change_tracking_inventory.mof │ │ │ └── plugin │ │ │ │ ├── change_tracking_runner.rb │ │ │ │ ├── changetracking_lib.rb │ │ │ │ └── filter_changetracking.rb │ │ ├── SoftwareChangeTracking │ │ │ ├── conf │ │ │ │ ├── change_tracking.conf │ │ │ │ └── change_tracking_inventory.mof │ │ │ └── plugin │ │ │ │ ├── change_tracking_runner.rb │ │ │ │ ├── changetracking_lib.rb │ │ │ │ └── filter_changetracking.rb │ │ ├── VMInsights │ │ │ ├── conf │ │ │ │ └── vminsights.conf │ │ │ └── plugin │ │ │ │ ├── VMInsightsDataCollector.rb │ │ │ │ ├── VMInsightsEngine.rb │ │ │ │ ├── VMInsightsIDataCollector.rb │ │ │ │ └── in_vminsights.rb │ │ ├── VMware │ │ │ ├── conf │ │ │ │ └── vmware_esxi.conf │ │ │ └── plugin │ │ │ │ └── parser_vmware_logs.rb │ │ └── Zabbix │ │ │ ├── conf │ │ │ └── zabbix.conf │ │ │ └── plugin │ │ │ ├── zabbix_client.rb │ │ │ ├── zabbix_lib.rb │ │ │ └── zabbixapi.rb │ ├── Plugins_x64 │ │ ├── ProcessInvestigator │ │ │ └── plugin │ │ │ │ ├── ThirdPartyNoticesProcessInvestigator.txt │ │ │ │ ├── pi │ │ │ │ └── processinvestigator │ │ └── SecurityBaseline │ │ │ └── plugin │ │ │ ├── omsbaseline │ │ │ └── omsremediate │ ├── Plugins_x86 │ │ ├── ProcessInvestigator │ │ │ └── plugin │ │ │ │ ├── ThirdPartyNoticesProcessInvestigator.txt │ │ │ │ ├── pi │ │ │ │ └── processinvestigator │ │ └── SecurityBaseline │ │ │ └── plugin │ │ │ ├── omsbaseline │ │ │ └── omsremediate │ ├── WLI │ │ ├── conf │ │ │ └── baseOS │ │ │ │ ├── universal.linux.json │ │ │ │ ├── wlm_ad.conf │ │ │ │ ├── wlm_ad_pe_config.json │ │ │ │ ├── wlm_baseOS.conf │ │ │ │ ├── wlm_discovery_mapping.json │ │ │ │ └── wlm_vmhealth_mapping.json │ │ └── plugins │ │ │ └── common │ │ │ ├── filter_wlm_oms_omi.rb │ │ │ ├── in_oms_omi.rb │ │ │ ├── in_wlm_discovery.rb │ │ │ ├── in_wlm_input.rb │ │ │ ├── in_wlm_oms_omi.rb │ │ │ ├── oms_omi_lib.rb │ │ │ ├── wlm_ad_pe_lib.rb │ │ │ ├── wlm_formatter.rb │ │ │ ├── wlm_heartbeat_lib.rb │ │ │ ├── wlm_omi_discovery_lib.rb │ │ │ ├── wlm_oms_omi_lib.rb │ │ │ └── wlm_source_lib.rb │ ├── nx.psd1 │ ├── nxComputerManagement.psd1 │ ├── nxFileInventory.psd1 │ ├── nxMySQL.psd1 │ ├── nxNetworking.psd1 │ ├── nxNop.psd1 │ ├── nxOMSAgentNPMConfig.psd1 │ ├── nxOMSAuditdPlugin.psd1 │ ├── nxOMSAuditdPlugin │ │ ├── Scripts │ │ │ └── OMSAuditdPlugin.sh │ │ ├── conf │ │ │ ├── auditd_plugin.conf │ │ │ ├── auoms_v1.conf │ │ │ ├── auoms_v2.conf │ │ │ ├── auoms_v3.conf │ │ │ ├── auoms_v4.conf │ │ │ ├── auomscollect_v3.conf │ │ │ ├── output_v1.conf │ │ │ ├── output_v2.conf │ │ │ ├── output_v3.conf │ │ │ └── output_v4.conf │ │ ├── plugin │ │ │ ├── auditd_plugin_lib.rb │ │ │ └── filter_auditd_plugin.rb │ │ └── rules │ │ │ ├── oms-security-audit-v1.rules │ │ │ └── oms-security-audit-v2.rules │ ├── nxOMSAutomationWorker.psd1 │ ├── nxOMSContainers.psd1 │ ├── nxOMSCustomLog.psd1 │ ├── nxOMSGenerateInventoryMof.psd1 │ ├── nxOMSKeyMgmt.psd1 │ ├── nxOMSPerfCounter.psd1 │ ├── nxOMSPlugin.psd1 │ ├── nxOMSSudoCustomLog.psd1 │ ├── nxOMSSyslog.psd1 │ └── nxOMSWLI.psd1 ├── PackageResource.ps1 ├── PythonProvider.cpp ├── PythonProvider.hpp ├── Scripts │ ├── 2.4x-2.5x │ │ └── Scripts │ │ │ ├── Tests │ │ │ ├── dummy-1.0-1.x86_64.rpm │ │ │ ├── dummy-1.0.deb │ │ │ ├── dummy_nxOMSAutomationWorker_files │ │ │ │ ├── VERSION │ │ │ │ ├── configuration.py │ │ │ │ ├── dummy_match.crt │ │ │ │ ├── dummy_match.key │ │ │ │ ├── dummy_notMatch.crt │ │ │ │ ├── dummy_notMatch.key │ │ │ │ ├── main.py │ │ │ │ ├── oms_conf_auto.conf │ │ │ │ ├── oms_conf_auto_manual.conf │ │ │ │ ├── oms_conf_manual.conf │ │ │ │ ├── oms_conf_none.conf │ │ │ │ ├── omsadmin.conf │ │ │ │ ├── serializerfactory.py │ │ │ │ └── worker.conf │ │ │ ├── nano-2.0.9-7.el6.x86_64.rpm │ │ │ ├── nano-2.3.2-2.1.2.x86_64.rpm │ │ │ ├── nano_2.2.6-1ubuntu1_amd64.deb │ │ │ ├── run_test_OMS_nxProviders.py │ │ │ ├── test_OMS_nxProviders.py │ │ │ ├── test_mofs │ │ │ │ ├── keymgmtring.gpg │ │ │ │ ├── keyring.gpg │ │ │ │ ├── nxArchive_tar_ctime_test.mof │ │ │ │ ├── nxArchive_zip_ctime_test.mof │ │ │ │ ├── nxComputer.mof │ │ │ │ ├── nxCustomLog_test.mof │ │ │ │ ├── nxDNSServerAddress_add.mof │ │ │ │ ├── nxFileLine_add.mof │ │ │ │ ├── nxIPAddressV6.mof │ │ │ │ ├── nxIPAddress_eth1_V4_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V4_static.mof │ │ │ │ ├── nxIPAddress_eth1_V6_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V6_static.mof │ │ │ │ ├── nxMySqlDatabase_add.mof │ │ │ │ ├── nxMySqlDatabase_del.mof │ │ │ │ ├── nxMySqlGrant_add.mof │ │ │ │ ├── nxMySqlGrant_del.mof │ │ │ │ ├── nxMySqlUser_add.mof │ │ │ │ ├── nxMySqlUser_del.mof │ │ │ │ ├── nxMySqlUser_upd.mof │ │ │ │ ├── nxOMSAgentNPMConfig.mof │ │ │ │ ├── nxOMSGenerateInventoryMof_test.mof │ │ │ │ ├── nxOMSKeyMgmt_add.mof │ │ │ │ ├── nxOMSKeyMgmt_del.mof │ │ │ │ ├── src.tar.gz │ │ │ │ ├── src.zip │ │ │ │ ├── testFileInventoryInventory_MarshallDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallSingleFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl │ │ │ │ ├── testdsckey.asc │ │ │ │ └── testdsckey.pub │ │ │ ├── test_nxOMSAutomationWorker.py │ │ │ ├── test_nxOMSPluginProvider.py │ │ │ ├── test_nxProviders.py │ │ │ └── unittest2-0.5.1.tar.gz │ │ │ ├── __init__.py │ │ │ ├── nxArchive.py │ │ │ ├── nxAvailableUpdates.py │ │ │ ├── nxComputer.py │ │ │ ├── nxDNSServerAddress.py │ │ │ ├── nxEnvironment.py │ │ │ ├── nxFile.py │ │ │ ├── nxFileInventory.py │ │ │ ├── nxFileLine.py │ │ │ ├── nxFirewall.py │ │ │ ├── nxGroup.py │ │ │ ├── nxIPAddress.py │ │ │ ├── nxMySqlDatabase.py │ │ │ ├── nxMySqlGrant.py │ │ │ ├── nxMySqlUser.py │ │ │ ├── nxNop.py │ │ │ ├── nxOMSAgentNPMConfig.py │ │ │ ├── nxOMSAuditdPlugin.py │ │ │ ├── nxOMSAutomationWorker.py │ │ │ ├── nxOMSContainers.py │ │ │ ├── nxOMSCustomLog.py │ │ │ ├── nxOMSGenerateInventoryMof.py │ │ │ ├── nxOMSKeyMgmt.py │ │ │ ├── nxOMSPerfCounter.py │ │ │ ├── nxOMSPlugin.py │ │ │ ├── nxOMSSudoCustomLog.py │ │ │ ├── nxOMSSyslog.py │ │ │ ├── nxPackage.py │ │ │ ├── nxScript.py │ │ │ ├── nxService.py │ │ │ ├── nxSshAuthorizedKeys.py │ │ │ └── nxUser.py │ ├── 2.6x-2.7x │ │ └── Scripts │ │ │ ├── Tests │ │ │ ├── dummy-1.0-1.x86_64.rpm │ │ │ ├── dummy-1.0.deb │ │ │ ├── dummy_nxOMSAutomationWorker_files │ │ │ │ ├── VERSION │ │ │ │ ├── configuration.py │ │ │ │ ├── dummy_match.crt │ │ │ │ ├── dummy_match.key │ │ │ │ ├── dummy_notMatch.crt │ │ │ │ ├── dummy_notMatch.key │ │ │ │ ├── main.py │ │ │ │ ├── oms_conf_auto.conf │ │ │ │ ├── oms_conf_auto_manual.conf │ │ │ │ ├── oms_conf_manual.conf │ │ │ │ ├── oms_conf_none.conf │ │ │ │ ├── omsadmin.conf │ │ │ │ ├── serializerfactory.py │ │ │ │ └── worker.conf │ │ │ ├── nano-2.0.9-7.el6.x86_64.rpm │ │ │ ├── nano-2.3.2-2.1.2.x86_64.rpm │ │ │ ├── nano_2.2.6-1ubuntu1_amd64.deb │ │ │ ├── run_test_OMS_nxProviders.py │ │ │ ├── test_OMS_nxProviders.py │ │ │ ├── test_mofs │ │ │ │ ├── keymgmtring.gpg │ │ │ │ ├── keyring.gpg │ │ │ │ ├── nxArchive_tar_ctime_test.mof │ │ │ │ ├── nxArchive_zip_ctime_test.mof │ │ │ │ ├── nxComputer.mof │ │ │ │ ├── nxCustomLog_test.mof │ │ │ │ ├── nxDNSServerAddress_add.mof │ │ │ │ ├── nxFileLine_add.mof │ │ │ │ ├── nxIPAddressV6.mof │ │ │ │ ├── nxIPAddress_eth1_V4_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V4_static.mof │ │ │ │ ├── nxIPAddress_eth1_V6_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V6_static.mof │ │ │ │ ├── nxMySqlDatabase_add.mof │ │ │ │ ├── nxMySqlDatabase_del.mof │ │ │ │ ├── nxMySqlGrant_add.mof │ │ │ │ ├── nxMySqlGrant_del.mof │ │ │ │ ├── nxMySqlUser_add.mof │ │ │ │ ├── nxMySqlUser_del.mof │ │ │ │ ├── nxMySqlUser_upd.mof │ │ │ │ ├── nxOMSAgentNPMConfig.mof │ │ │ │ ├── nxOMSGenerateInventoryMof_test.mof │ │ │ │ ├── nxOMSKeyMgmt_add.mof │ │ │ │ ├── nxOMSKeyMgmt_del.mof │ │ │ │ ├── src.tar.gz │ │ │ │ ├── src.zip │ │ │ │ ├── testFileInventoryInventory_MarshallDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallSingleFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl │ │ │ │ ├── testdsckey.asc │ │ │ │ └── testdsckey.pub │ │ │ ├── test_nxOMSAutomationWorker.py │ │ │ ├── test_nxOMSPluginProvider.py │ │ │ ├── test_nxProviders.py │ │ │ └── unittest2-0.5.1.tar.gz │ │ │ ├── __init__.py │ │ │ ├── nxArchive.py │ │ │ ├── nxAvailableUpdates.py │ │ │ ├── nxComputer.py │ │ │ ├── nxDNSServerAddress.py │ │ │ ├── nxEnvironment.py │ │ │ ├── nxFile.py │ │ │ ├── nxFileInventory.py │ │ │ ├── nxFileLine.py │ │ │ ├── nxFirewall.py │ │ │ ├── nxGroup.py │ │ │ ├── nxIPAddress.py │ │ │ ├── nxMySqlDatabase.py │ │ │ ├── nxMySqlGrant.py │ │ │ ├── nxMySqlUser.py │ │ │ ├── nxNop.py │ │ │ ├── nxOMSAgentNPMConfig.py │ │ │ ├── nxOMSAuditdPlugin.py │ │ │ ├── nxOMSAutomationWorker.py │ │ │ ├── nxOMSContainers.py │ │ │ ├── nxOMSCustomLog.py │ │ │ ├── nxOMSGenerateInventoryMof.py │ │ │ ├── nxOMSKeyMgmt.py │ │ │ ├── nxOMSPerfCounter.py │ │ │ ├── nxOMSPlugin.py │ │ │ ├── nxOMSSudoCustomLog.py │ │ │ ├── nxOMSSyslog.py │ │ │ ├── nxOMSWLI.py │ │ │ ├── nxPackage.py │ │ │ ├── nxScript.py │ │ │ ├── nxService.py │ │ │ ├── nxSshAuthorizedKeys.py │ │ │ └── nxUser.py │ ├── 3.x │ │ └── Scripts │ │ │ ├── Tests │ │ │ ├── dummy-1.0-1.x86_64.rpm │ │ │ ├── dummy-1.0.deb │ │ │ ├── dummy_nxOMSAutomationWorker_files │ │ │ │ ├── VERSION │ │ │ │ ├── configuration.py │ │ │ │ ├── main.py │ │ │ │ ├── omsadmin.conf │ │ │ │ └── serializerfactory.py │ │ │ ├── nano-2.0.9-7.el6.x86_64.rpm │ │ │ ├── nano-2.3.2-2.1.2.x86_64.rpm │ │ │ ├── nano_2.2.6-1ubuntu1_amd64.deb │ │ │ ├── run_test_OMS_nxProviders.py │ │ │ ├── test_OMS_nxProviders.py │ │ │ ├── test_mofs.log │ │ │ ├── test_mofs │ │ │ │ ├── keymgmtring.gpg │ │ │ │ ├── keyring.gpg │ │ │ │ ├── nxArchive_tar_ctime_test.mof │ │ │ │ ├── nxArchive_zip_ctime_test.mof │ │ │ │ ├── nxComputer.mof │ │ │ │ ├── nxCustomLog_test.mof │ │ │ │ ├── nxDNSServerAddress_add.mof │ │ │ │ ├── nxFileLine_add.mof │ │ │ │ ├── nxIPAddressV6.mof │ │ │ │ ├── nxIPAddress_eth1_V4_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V4_static.mof │ │ │ │ ├── nxIPAddress_eth1_V6_dynamic.mof │ │ │ │ ├── nxIPAddress_eth1_V6_static.mof │ │ │ │ ├── nxMySqlDatabase_add.mof │ │ │ │ ├── nxMySqlDatabase_del.mof │ │ │ │ ├── nxMySqlGrant_add.mof │ │ │ │ ├── nxMySqlGrant_del.mof │ │ │ │ ├── nxMySqlUser_add.mof │ │ │ │ ├── nxMySqlUser_del.mof │ │ │ │ ├── nxMySqlUser_upd.mof │ │ │ │ ├── nxOMSAgentNPMConfig.mof │ │ │ │ ├── nxOMSGenerateInventoryMof_test.mof │ │ │ │ ├── nxOMSKeyMgmt_add.mof │ │ │ │ ├── nxOMSKeyMgmt_del.mof │ │ │ │ ├── src.tar.gz │ │ │ │ ├── src.zip │ │ │ │ ├── testFileInventoryInventory_MarshallDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallSingleFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDir.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFile.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWild.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl │ │ │ │ ├── testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl │ │ │ │ ├── testdsckey.asc │ │ │ │ └── testdsckey.pub │ │ │ ├── test_nxOMSPluginProvider.py │ │ │ ├── test_nxProviders.py │ │ │ └── unittest2-0.5.1.tar.gz │ │ │ ├── __init__.py │ │ │ ├── nxArchive.py │ │ │ ├── nxAvailableUpdates.py │ │ │ ├── nxComputer.py │ │ │ ├── nxDNSServerAddress.py │ │ │ ├── nxEnvironment.py │ │ │ ├── nxFile.py │ │ │ ├── nxFileInventory.py │ │ │ ├── nxFileLine.py │ │ │ ├── nxFirewall.py │ │ │ ├── nxGroup.py │ │ │ ├── nxIPAddress.py │ │ │ ├── nxMySqlDatabase.py │ │ │ ├── nxMySqlGrant.py │ │ │ ├── nxMySqlUser.py │ │ │ ├── nxNop.py │ │ │ ├── nxOMSAgentNPMConfig.py │ │ │ ├── nxOMSAuditdPlugin.py │ │ │ ├── nxOMSAutomationWorker.py │ │ │ ├── nxOMSContainers.py │ │ │ ├── nxOMSCustomLog.py │ │ │ ├── nxOMSGenerateInventoryMof.py │ │ │ ├── nxOMSKeyMgmt.py │ │ │ ├── nxOMSPerfCounter.py │ │ │ ├── nxOMSPlugin.py │ │ │ ├── nxOMSSudoCustomLog.py │ │ │ ├── nxOMSSyslog.py │ │ │ ├── nxOMSWLI.py │ │ │ ├── nxPackage.py │ │ │ ├── nxScript.py │ │ │ ├── nxService.py │ │ │ ├── nxSshAuthorizedKeys.py │ │ │ └── nxUser.py │ ├── NPMAgentBinaryCap.sh │ ├── OMSAptUpdates.sh │ ├── OMSAuditdPlugin.sh │ ├── OMSRsyslog.post.sh │ ├── OMSServiceStat.sh │ ├── OMSServiceStatAll.sh │ ├── OMSSysklog.post.sh │ ├── OMSSyslog-ng.post.sh │ ├── OMSYumSecurityUpdates.sh │ ├── OMSYumUpdates.sh │ ├── OMSZypperSecurityUpdates.sh │ ├── OMSZypperUpdates.sh │ ├── client.py │ ├── helperlib.py │ ├── nxDSCLog.py │ ├── protocol.py │ └── zipfile2.6.py ├── config.mak ├── configure ├── debug_tags.cpp ├── debug_tags.hpp ├── nxArchive │ ├── MSFT_nxArchiveResource.cpp │ ├── MSFT_nxArchiveResource.h │ ├── MSFT_nxArchiveResource.reg │ ├── MSFT_nxArchiveResource.registration.mof │ ├── MSFT_nxArchiveResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxAvailableUpdates │ ├── MSFT_nxAvailableUpdatesResource.cpp │ ├── MSFT_nxAvailableUpdatesResource.h │ ├── MSFT_nxAvailableUpdatesResource.reg │ ├── MSFT_nxAvailableUpdatesResource.registration.mof │ ├── MSFT_nxAvailableUpdatesResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxComputer │ ├── MSFT_nxComputerResource.cpp │ ├── MSFT_nxComputerResource.h │ ├── MSFT_nxComputerResource.reg │ ├── MSFT_nxComputerResource.registration.mof │ ├── MSFT_nxComputerResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxDNSServerAddress │ ├── MSFT_nxDNSServerAddressResource.cpp │ ├── MSFT_nxDNSServerAddressResource.h │ ├── MSFT_nxDNSServerAddressResource.reg │ ├── MSFT_nxDNSServerAddressResource.registration.mof │ ├── MSFT_nxDNSServerAddressResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxEnvironment │ ├── MSFT_nxEnvironmentResource.cpp │ ├── MSFT_nxEnvironmentResource.h │ ├── MSFT_nxEnvironmentResource.reg │ ├── MSFT_nxEnvironmentResource.registration.mof │ ├── MSFT_nxEnvironmentResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxFile │ ├── MSFT_nxFileResource.cpp │ ├── MSFT_nxFileResource.h │ ├── MSFT_nxFileResource.reg │ ├── MSFT_nxFileResource.registration.mof │ ├── MSFT_nxFileResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── nxFile.mof │ ├── schema.c │ └── strings.rc ├── nxFileInventory │ ├── MSFT_nxFileInventoryResource.cpp │ ├── MSFT_nxFileInventoryResource.h │ ├── MSFT_nxFileInventoryResource.reg │ ├── MSFT_nxFileInventoryResource.registration.mof │ ├── MSFT_nxFileInventoryResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxFileLine │ ├── MSFT_nxFileLineResource.cpp │ ├── MSFT_nxFileLineResource.h │ ├── MSFT_nxFileLineResource.reg │ ├── MSFT_nxFileLineResource.registration.mof │ ├── MSFT_nxFileLineResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxFirewall │ ├── MSFT_nxFirewallResource.cpp │ ├── MSFT_nxFirewallResource.h │ ├── MSFT_nxFirewallResource.reg │ ├── MSFT_nxFirewallResource.registration.mof │ ├── MSFT_nxFirewallResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxGroup │ ├── MSFT_nxGroupResource.cpp │ ├── MSFT_nxGroupResource.h │ ├── MSFT_nxGroupResource.reg │ ├── MSFT_nxGroupResource.registration.mof │ ├── MSFT_nxGroupResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxIPAddress │ ├── MSFT_nxIPAddressResource.cpp │ ├── MSFT_nxIPAddressResource.h │ ├── MSFT_nxIPAddressResource.reg │ ├── MSFT_nxIPAddressResource.registration.mof │ ├── MSFT_nxIPAddressResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxLog │ ├── MSFT_nxLogResource.cpp │ ├── MSFT_nxLogResource.h │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxMySqlDatabase │ ├── MSFT_Credential.h │ ├── MSFT_nxMySqlDatabaseResource.cpp │ ├── MSFT_nxMySqlDatabaseResource.h │ ├── MSFT_nxMySqlDatabaseResource.reg │ ├── MSFT_nxMySqlDatabaseResource.registration.mof │ ├── MSFT_nxMySqlDatabaseResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxMySqlGrant │ ├── MSFT_Credential.h │ ├── MSFT_nxMySqlGrantResource.cpp │ ├── MSFT_nxMySqlGrantResource.h │ ├── MSFT_nxMySqlGrantResource.reg │ ├── MSFT_nxMySqlGrantResource.registration.mof │ ├── MSFT_nxMySqlGrantResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxMySqlUser │ ├── MSFT_Credential.h │ ├── MSFT_nxMySqlUserResource.cpp │ ├── MSFT_nxMySqlUserResource.h │ ├── MSFT_nxMySqlUserResource.reg │ ├── MSFT_nxMySqlUserResource.registration.mof │ ├── MSFT_nxMySqlUserResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxNop │ ├── MSFT_nxNopResource.cpp │ ├── MSFT_nxNopResource.h │ ├── MSFT_nxNopResource.reg │ ├── MSFT_nxNopResource.registration.mof │ ├── MSFT_nxNopResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSAgentNPMConfig │ ├── MSFT_nxOMSAgentNPMConfigResource.cpp │ ├── MSFT_nxOMSAgentNPMConfigResource.h │ ├── MSFT_nxOMSAgentNPMConfigResource.reg │ ├── MSFT_nxOMSAgentNPMConfigResource.registration.mof │ ├── MSFT_nxOMSAgentNPMConfigResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSAuditdPlugin │ ├── MSFT_nxOMSAuditdPluginResource.cpp │ ├── MSFT_nxOMSAuditdPluginResource.h │ ├── MSFT_nxOMSAuditdPluginResource.reg │ ├── MSFT_nxOMSAuditdPluginResource.registration.mof │ ├── MSFT_nxOMSAuditdPluginResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSAutomationWorker │ ├── MSFT_nxOMSAutomationWorkerResource.cpp │ ├── MSFT_nxOMSAutomationWorkerResource.h │ ├── MSFT_nxOMSAutomationWorkerResource.reg │ ├── MSFT_nxOMSAutomationWorkerResource.registration.mof │ ├── MSFT_nxOMSAutomationWorkerResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── automationworker │ │ ├── 3.x │ │ │ ├── scripts │ │ │ │ ├── __init__.py │ │ │ │ ├── certgenerator.py │ │ │ │ ├── onboarding3.py │ │ │ │ ├── packagesimportutil.py │ │ │ │ ├── register.py │ │ │ │ ├── register_oms.py │ │ │ │ └── require_runbook_signature3.py │ │ │ └── worker │ │ │ │ ├── __init__.py │ │ │ │ ├── automationassets.py │ │ │ │ ├── automationconstants │ │ │ │ ├── __init__.py │ │ │ │ ├── jobstatus.py │ │ │ │ ├── jobtriggersource.py │ │ │ │ └── pendingactions.py │ │ │ │ ├── automationrunbooktracer.py │ │ │ │ ├── configuration3.py │ │ │ │ ├── curlhttpclient.py │ │ │ │ ├── diydirs.py │ │ │ │ ├── gpg.py │ │ │ │ ├── httpclient.py │ │ │ │ ├── httpclientfactory.py │ │ │ │ ├── hybridworker.py │ │ │ │ ├── importHelper.py │ │ │ │ ├── iohelper.py │ │ │ │ ├── job.py │ │ │ │ ├── jrdsclient.py │ │ │ │ ├── linuxutil.py │ │ │ │ ├── locallogger.py │ │ │ │ ├── main.py │ │ │ │ ├── omsutil.py │ │ │ │ ├── runbook.py │ │ │ │ ├── runtime.py │ │ │ │ ├── runtimefactory.py │ │ │ │ ├── sandbox.py │ │ │ │ ├── serializerfactory.py │ │ │ │ ├── simplejson │ │ │ │ ├── __init__.py │ │ │ │ ├── decoder.py │ │ │ │ ├── encoder.py │ │ │ │ └── scanner.py │ │ │ │ ├── streamhandler.py │ │ │ │ ├── subprocessfactory.py │ │ │ │ ├── tracer.py │ │ │ │ ├── urllib2httpclient.py │ │ │ │ ├── urllib3HttpClient.py │ │ │ │ ├── util.py │ │ │ │ ├── workercertificaterotation.py │ │ │ │ ├── workerexception.py │ │ │ │ └── workerpollingfrequency.py │ │ ├── LICENSE.md │ │ ├── Third Party Notices.txt │ │ ├── scripts │ │ │ ├── __init__.py │ │ │ ├── certgenerator.py │ │ │ ├── onboarding.py │ │ │ ├── onboarding2.py │ │ │ ├── packagesimportutil.py │ │ │ ├── register.py │ │ │ ├── register_oms.py │ │ │ ├── require_runbook_signature.py │ │ │ └── require_runbook_signature2.py │ │ └── worker │ │ │ ├── __init__.py │ │ │ ├── automationassets.py │ │ │ ├── automationconstants │ │ │ ├── __init__.py │ │ │ ├── jobstatus.py │ │ │ ├── jobtriggersource.py │ │ │ └── pendingactions.py │ │ │ ├── automationrunbooktracer.py │ │ │ ├── configuration.py │ │ │ ├── configuration2.py │ │ │ ├── curlhttpclient.py │ │ │ ├── diydirs.py │ │ │ ├── gpg.py │ │ │ ├── httpclient.py │ │ │ ├── httpclientfactory.py │ │ │ ├── hybridworker.py │ │ │ ├── iohelper.py │ │ │ ├── job.py │ │ │ ├── jrdsclient.py │ │ │ ├── linuxutil.py │ │ │ ├── locallogger.py │ │ │ ├── main.py │ │ │ ├── omsutil.py │ │ │ ├── runbook.py │ │ │ ├── runtime.py │ │ │ ├── runtimefactory.py │ │ │ ├── sandbox.py │ │ │ ├── serializerfactory.py │ │ │ ├── simplejson │ │ │ ├── __init__.py │ │ │ ├── decoder.py │ │ │ ├── encoder.py │ │ │ └── scanner.py │ │ │ ├── streamhandler.py │ │ │ ├── subprocessfactory.py │ │ │ ├── tracer.py │ │ │ ├── urllib2httpclient.py │ │ │ ├── urllib3HttpClient.py │ │ │ ├── util.py │ │ │ ├── workercertificaterotation.py │ │ │ ├── workerexception.py │ │ │ └── workerpollingfrequency.py │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSContainers │ ├── MSFT_nxOMSContainersResource.cpp │ ├── MSFT_nxOMSContainersResource.h │ ├── MSFT_nxOMSContainersResource.reg │ ├── MSFT_nxOMSContainersResource.registration.mof │ ├── MSFT_nxOMSContainersResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── containers │ │ ├── conf │ │ │ └── container.conf │ │ ├── lib │ │ │ └── libcontainer.so │ │ ├── plugin │ │ │ ├── KubernetesApiClient.rb │ │ │ ├── filter_container.rb │ │ │ ├── filter_docker_log.rb │ │ │ ├── in_kube_events.rb │ │ │ └── in_kube_podinventory.rb │ │ ├── reg │ │ │ └── container.reg │ │ └── yaml │ │ │ └── KubeEventQueryState.yaml │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSCustomLog │ ├── MSFT_nxOMSCustomLogObject.h │ ├── MSFT_nxOMSCustomLogResource.cpp │ ├── MSFT_nxOMSCustomLogResource.h │ ├── MSFT_nxOMSCustomLogResource.reg │ ├── MSFT_nxOMSCustomLogResource.registration.mof │ ├── MSFT_nxOMSCustomLogResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSGenerateInventoryMof │ ├── MSFT_nxOMSGenerateInventoryMofInstance.h │ ├── MSFT_nxOMSGenerateInventoryMofResource.cpp │ ├── MSFT_nxOMSGenerateInventoryMofResource.h │ ├── MSFT_nxOMSGenerateInventoryMofResource.reg │ ├── MSFT_nxOMSGenerateInventoryMofResource.registration.mof │ ├── MSFT_nxOMSGenerateInventoryMofResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSKeyMgmt │ ├── MSFT_nxOMSKeyMgmtResource.cpp │ ├── MSFT_nxOMSKeyMgmtResource.h │ ├── MSFT_nxOMSKeyMgmtResource.reg │ ├── MSFT_nxOMSKeyMgmtResource.registration.mof │ ├── MSFT_nxOMSKeyMgmtResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSPerfCounter │ ├── MSFT_nxOMSPerfCounterObject.h │ ├── MSFT_nxOMSPerfCounterResource.cpp │ ├── MSFT_nxOMSPerfCounterResource.h │ ├── MSFT_nxOMSPerfCounterResource.reg │ ├── MSFT_nxOMSPerfCounterResource.registration.mof │ ├── MSFT_nxOMSPerfCounterResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSPlugin │ ├── MSFT_nxOMSPlugin.h │ ├── MSFT_nxOMSPluginResource.cpp │ ├── MSFT_nxOMSPluginResource.h │ ├── MSFT_nxOMSPluginResource.reg │ ├── MSFT_nxOMSPluginResource.registration.mof │ ├── MSFT_nxOMSPluginResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSSudoCustomLog │ ├── MSFT_nxOMSSudoCustomLogObject.h │ ├── MSFT_nxOMSSudoCustomLogResource.cpp │ ├── MSFT_nxOMSSudoCustomLogResource.h │ ├── MSFT_nxOMSSudoCustomLogResource.reg │ ├── MSFT_nxOMSSudoCustomLogResource.registration.mof │ ├── MSFT_nxOMSSudoCustomLogResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSSyslog │ ├── MSFT_nxOMSSyslogResource.cpp │ ├── MSFT_nxOMSSyslogResource.h │ ├── MSFT_nxOMSSyslogResource.reg │ ├── MSFT_nxOMSSyslogResource.registration.mof │ ├── MSFT_nxOMSSyslogResource.schema.mof │ ├── MSFT_nxOMSSyslogSource.h │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxOMSWLI │ ├── MSFT_nxOMSWLIResource.cpp │ ├── MSFT_nxOMSWLIResource.h │ ├── MSFT_nxOMSWLIResource.reg │ ├── MSFT_nxOMSWLIResource.registration.mof │ ├── MSFT_nxOMSWLIResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxPackage │ ├── MSFT_nxPackageResource.cpp │ ├── MSFT_nxPackageResource.h │ ├── MSFT_nxPackageResource.reg │ ├── MSFT_nxPackageResource.registration.mof │ ├── MSFT_nxPackageResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxScript │ ├── MSFT_nxScriptResource.cpp │ ├── MSFT_nxScriptResource.h │ ├── MSFT_nxScriptResource.reg │ ├── MSFT_nxScriptResource.registration.mof │ ├── MSFT_nxScriptResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxService │ ├── MSFT_nxServiceResource.cpp │ ├── MSFT_nxServiceResource.h │ ├── MSFT_nxServiceResource.reg │ ├── MSFT_nxServiceResource.registration.mof │ ├── MSFT_nxServiceResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxSshAuthorizedKeys │ ├── MSFT_nxSshAuthorizedKeysResource.cpp │ ├── MSFT_nxSshAuthorizedKeysResource.h │ ├── MSFT_nxSshAuthorizedKeysResource.reg │ ├── MSFT_nxSshAuthorizedKeysResource.registration.mof │ ├── MSFT_nxSshAuthorizedKeysResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── schema.c │ └── strings.rc ├── nxUser │ ├── MSFT_nxUserResource.cpp │ ├── MSFT_nxUserResource.h │ ├── MSFT_nxUserResource.reg │ ├── MSFT_nxUserResource.registration.mof │ ├── MSFT_nxUserResource.schema.mof │ ├── OMI_BaseResource.h │ ├── Provider.DEF │ ├── WMIAdapter.c │ ├── module.c │ ├── nxUser.mof │ ├── schema.c │ └── strings.rc ├── traits.hpp └── unique_ptr.hpp ├── README.md ├── SECURITY.md ├── Tests ├── Configurations │ ├── FileProviderTestConfig1.ps1 │ ├── MetaConfigPush.ps1 │ ├── nxNopTest1.mof │ ├── nxNopTest1_1.0.1.mof │ ├── nxNopTest1_1.0.7.mof │ └── nxNopTest2.mof ├── DSCLinux.PartialConfig.Pester.Tests.ps1 ├── DSCLinux.Pester.Tests.ps1 ├── DSCLinuxTestConfig.json ├── Dsclinux.Tests.Helper.psm1 ├── MonitorOnlyMode.Tests.ps1 ├── Packages │ ├── nxNop_1.0.1.zip │ ├── nxNop_1.0.7.zip │ └── nxNop_1.0.zip └── readme.md ├── build ├── Makefile ├── Makefile.version └── configure ├── build_source_kit.sh ├── configure ├── ext ├── boost │ └── README.txt ├── curl │ ├── x64 │ │ ├── include │ │ │ ├── Makefile │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── README │ │ │ └── curl │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.am │ │ │ │ ├── Makefile.in │ │ │ │ ├── curl.h │ │ │ │ ├── curlbuild.h │ │ │ │ ├── curlbuild.h.cmake │ │ │ │ ├── curlbuild.h.in │ │ │ │ ├── curlrules.h │ │ │ │ ├── curlver.h │ │ │ │ ├── easy.h │ │ │ │ ├── mprintf.h │ │ │ │ ├── multi.h │ │ │ │ ├── stamp-h3 │ │ │ │ ├── stdcheaders.h │ │ │ │ ├── typecheck-gcc.h │ │ │ │ └── types.h │ │ └── lib │ │ │ └── libcurl.so.4.2.0 │ └── x86 │ │ ├── include │ │ ├── Makefile │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── README │ │ └── curl │ │ │ ├── Makefile │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── curl.h │ │ │ ├── curlbuild.h │ │ │ ├── curlbuild.h.cmake │ │ │ ├── curlbuild.h.in │ │ │ ├── curlrules.h │ │ │ ├── curlver.h │ │ │ ├── easy.h │ │ │ ├── mprintf.h │ │ │ ├── multi.h │ │ │ ├── stamp-h3 │ │ │ ├── stdcheaders.h │ │ │ ├── typecheck-gcc.h │ │ │ └── types.h │ │ └── lib │ │ └── libcurl.so.4.2.0 ├── python │ └── README.txt └── test │ ├── Makefile │ ├── extension.cpp │ ├── extension.hpp │ ├── hello.py │ ├── main.cpp │ ├── python_io_helpers.cpp │ └── python_io_helpers.hpp ├── installbuilder ├── Makefile ├── datafiles │ └── Base_DSC.data └── secure_update.sh └── license.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # git ignore file for dsc project 2 | 3 | /config.mak 4 | /build/dsc.version 5 | /build/config.mak 6 | /Providers/bin/ 7 | /intermediate/ 8 | /omi-1.0.8 9 | /output/ 10 | /release/ 11 | /target 12 | /dsc_config.h 13 | **/.vscode 14 | /.idea/ 15 | *.pyc 16 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Contributions of code (pull requests) to this repository are not being accepted at this time. 4 | Your patience and interest are sincerely appreciated as we prepare this project to accept public 5 | contributions. 6 | 7 | In the meantime, we ask that you create an **Issue** for any problems you have found or feature requests. 8 | -------------------------------------------------------------------------------- /Docs/PowerShell DSC for Linux Release Notes 1.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/PowerShell DSC for Linux Release Notes 1.1.docx -------------------------------------------------------------------------------- /Docs/PowerShell DSC for Linux Release Notes 1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/PowerShell DSC for Linux Release Notes 1.1.pdf -------------------------------------------------------------------------------- /Docs/nxComputerManagement_DSCResources.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/nxComputerManagement_DSCResources.docx -------------------------------------------------------------------------------- /Docs/nxComputerManagement_DSCResources.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/nxComputerManagement_DSCResources.pdf -------------------------------------------------------------------------------- /Docs/nxNetworking_DSCResources.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/nxNetworking_DSCResources.docx -------------------------------------------------------------------------------- /Docs/nxNetworking_DSCResources.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Docs/nxNetworking_DSCResources.pdf -------------------------------------------------------------------------------- /LCM/.prefix: -------------------------------------------------------------------------------- 1 | E4349DE8-6E94-4CB6-AE44-45D8A61C489E 2 | -------------------------------------------------------------------------------- /LCM/codec/mof/GNUmakefile: -------------------------------------------------------------------------------- 1 | TOP = ../.. 2 | include $(TOP)/config.mak 3 | 4 | LIBRARY = micodec 5 | 6 | SOURCES = \ 7 | codecimpl.c \ 8 | mofcodec.c \ 9 | strings.c \ 10 | instanceutil.c \ 11 | mofserializer.c \ 12 | buf.c \ 13 | strset.c 14 | 15 | INCLUDES = $(OMI)/common $(OMI) $(TOP) $(TOP)/codec/common $(OMI)/nits/base $(TOP)/codec/mof/parser 16 | 17 | DEFINES = MI_CONST= 18 | 19 | include $(OMI)/mak/rules.mak 20 | 21 | -------------------------------------------------------------------------------- /LCM/codec/mof/mofcodec.def: -------------------------------------------------------------------------------- 1 | 2 | LIBRARY mimofcodec.dll 3 | 4 | EXPORTS 5 | MI_Application_NewSerializer_Mof 6 | MI_Application_NewDeserializer_Mof 7 | 8 | MI_MOFParser_Parse 9 | MI_MOFParser_Lex 10 | MI_MOFParser_Init 11 | MI_MOFParser_Delete 12 | -------------------------------------------------------------------------------- /LCM/codec/mof/parser/GNUmakefile: -------------------------------------------------------------------------------- 1 | TOP = ../../.. 2 | include $(TOP)/config.mak 3 | 4 | LIBRARY = mofparser 5 | 6 | SOURCES = \ 7 | buffer.c \ 8 | moflex.c \ 9 | ptrarray.c \ 10 | types.c \ 11 | utility.c \ 12 | mofparser.c \ 13 | mofyacc.c \ 14 | mofhash.c 15 | 16 | INCLUDES = $(OMI)/common $(OMI) $(TOP) $(TOP)/codec/common $(OMI)/nits/base 17 | 18 | ifeq ($(ENABLE_DEBUG),1) 19 | ENABLE_DEBUG_DEFINE = ENABLE_DEBUG 20 | endif 21 | 22 | DEFINES = MI_CONST= $(ENABLE_DEBUG_DEFINE) 23 | 24 | include $(OMI)/mak/rules.mak 25 | 26 | 27 | -------------------------------------------------------------------------------- /LCM/codec/mof/parser/yacccmd.txt: -------------------------------------------------------------------------------- 1 | #run following command to generate mof parser code 2 | yacc -p mof -d -b mofy mof.y 3 | -------------------------------------------------------------------------------- /LCM/config.mak: -------------------------------------------------------------------------------- 1 | OMI = $(TOP)/../omi-1.0.8 2 | OUTPUTDIR = $(OMI)/output 3 | 4 | include $(OMI)/config.mak 5 | include $(TOP)/../config.mak 6 | -------------------------------------------------------------------------------- /LCM/dsc/engine/ConsistencyInvoker/GNUmakefile: -------------------------------------------------------------------------------- 1 | DSCTOP = ../.. 2 | TOP = ../../.. 3 | include $(TOP)/config.mak 4 | 5 | ifeq ($(BUILD_OMS),BUILD_OMS) 6 | CPROGRAM = OMSConsistencyInvoker 7 | else 8 | CPROGRAM = ConsistencyInvoker 9 | endif 10 | SOURCES = ConsistencyInvoker.c 11 | 12 | INCLUDES = $(OMI) $(OMI)/common $(TOP)/codec/common $(OMI)/nits/base $(DSCTOP)/common/inc $(DSCTOP)/engine/EngineHelper $(TOP)/json_parson 13 | 14 | DEFINES = $(BUILD_OMS) DSC_SCRIPT_PATH=\"$(DSC_SCRIPT_PATH)\" DSC_HOST_BASE_PATH=\"$(DSC_HOST_BASE_PATH)\" 15 | 16 | LIBRARIES = mi $(PALLIBS) 17 | 18 | include $(OMI)/mak/rules.mak 19 | -------------------------------------------------------------------------------- /LCM/dsc/engine/EngineHelper/GNUmakefile: -------------------------------------------------------------------------------- 1 | DSCTOP = ../.. 2 | TOP = ../../.. 3 | include $(TOP)/config.mak 4 | 5 | LIBRARY = EngineHelper 6 | 7 | SOURCES = \ 8 | EngineHelper.c \ 9 | EventWrapper.c \ 10 | PAL_Extension.c \ 11 | $(TOP)/json_parson/parson.c 12 | 13 | INCLUDES = $(OMI) $(OMI)/common $(DSCTOP)/common/inc $(TOP)/codec/common $(OMI)/nits/base $(DSCTOP)/engine $(TOP)/json_parson 14 | 15 | DEFINES = MI_CONST= HOOK_BUILD $(BUILD_OMS) 16 | 17 | include $(OMI)/mak/rules.mak 18 | 19 | -------------------------------------------------------------------------------- /LCM/dsc/engine/ModuleLoader/ModuleLibrary/GNUmakefile: -------------------------------------------------------------------------------- 1 | DSCTOP = ../../.. 2 | TOP = ../../../.. 3 | include $(TOP)/config.mak 4 | 5 | LIBRARY = ModuleHandler 6 | 7 | SOURCES = \ 8 | ModuleHandler.c \ 9 | ModuleValidator.c 10 | 11 | INCLUDES = $(OMI) $(OMI)/common $(DSCTOP)/common/inc $(DSCTOP)/engine/EngineHelper $(DSCTOP)/engine $(TOP)/codec/common $(OMI)/nits/base $(TOP)/json_parson $(DSCTOP)/engine/ca/CAInfrastructure 12 | 13 | DEFINES = MI_CONST= HOOK_BUILD $(BUILD_OMS) 14 | 15 | include $(OMI)/mak/rules.mak 16 | 17 | -------------------------------------------------------------------------------- /LCM/dsc/engine/ca/CALogInfrastructure/GNUmakefile: -------------------------------------------------------------------------------- 1 | DSCTOP = ../../.. 2 | TOP = ../../../.. 3 | include $(TOP)/config.mak 4 | 5 | LIBRARY = CALogInfrastructure 6 | 7 | SOURCES = \ 8 | CALog.c 9 | 10 | INCLUDES = \ 11 | $(OMI) \ 12 | $(OMI)/common \ 13 | $(DSCTOP)/common/inc \ 14 | $(DSCTOP)/engine/EngineHelper \ 15 | $(TOP)/codec/common \ 16 | $(OMI)/nits/base \ 17 | $(TOP)/json_parson 18 | 19 | DEFINES = MI_CONST= HOOK_BUILD $(BUILD_OMS) 20 | 21 | include $(OMI)/mak/rules.mak 22 | -------------------------------------------------------------------------------- /LCM/dsc/engine/ca/psinfrastructurenative/Dscpspluginwkr.def: -------------------------------------------------------------------------------- 1 | LIBRARY Dscpspluginwkr 2 | 3 | EXPORTS 4 | 5 | Get 6 | 7 | Set 8 | 9 | Test 10 | 11 | StopCurrentPSConfiguration 12 | 13 | GetResourceProvider 14 | 15 | Pull_GetConfiguration_ManagedPlugin 16 | 17 | Pull_GetAction_ManagedPlugin 18 | 19 | Pull_GetModules_ManagedPlugin 20 | 21 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/MSFT_Credential.mof: -------------------------------------------------------------------------------- 1 | [Abstract, 2 | ClassVersion("1.0.0"), 3 | Description ( 4 | "Credential to use for DSC configuration providers." )] 5 | class MSFT_Credential 6 | { 7 | [Description 8 | ("UserName is the name of the user that an authorization service maps to an identity." ), 9 | MaxLen ( 256 )] 10 | string UserName; 11 | [Description 12 | ("The UserPassword property may contain a password used to access resources." )] 13 | string Password; 14 | }; 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/MSFT_KeyValuePair.mof: -------------------------------------------------------------------------------- 1 | [Abstract, 2 | Description( 3 | "This represents a key-value pair."), 4 | ClassVersion("1.0.0")] 5 | class MSFT_KeyValuePair 6 | { 7 | [Key] 8 | string Key; 9 | 10 | [write] 11 | string Value; 12 | }; 13 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/MSFT_Qualifiers.mof: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // Copyright (C) Microsoft Corporation, All rights reserved. 3 | //============================================================================ 4 | // 5 | 6 | Qualifier Stream : boolean = false, 7 | Scope( method, parameter), 8 | Flavor(DisableOverride, ToSubclass); 9 | 10 | Qualifier ClassVersion : string = null, 11 | Scope(class, association, indication), 12 | Flavor(EnableOverride, Restricted); 13 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/OMI_MetaConfigurationResource.mof: -------------------------------------------------------------------------------- 1 | // =============================================================== 2 | // OMI_MetaConfigurationResource 3 | // =============================================================== 4 | [Abstract, 5 | ClassVersion("1.0.0"), 6 | Description ( 7 | "Base schema for all Metaconfiguration resources." )] 8 | class OMI_MetaConfigurationResource 9 | { 10 | 11 | [required] 12 | string ResourceId; 13 | 14 | [write] 15 | string SourceInfo; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/codegen.txt: -------------------------------------------------------------------------------- 1 | REM copy OMI_error from admin\wmi\winomi\omiutils\mofs\OMI_Errors.mof, remove pragma and cim_error definition 2 | REM use -OldRcPath to retain old rc resource numbers 3 | "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\convert-moftoprovider.exe" -moffile OMI_BaseResource.mof MSFT_KeyValuePair.mof MSFT_Credential.mof MSFT_DSCMetaConfiguration.mof MSFT_DSCLocalConfigManager.mof OMI_Errors.mof -classlist MSFT_DSCLocalConfigurationManager -ExtraClass MSFT_DSCMetaConfiguration OMI_Error -includepath %sdxroot%\admin\wmi\wmiv2\CIM-2.26.0 -OldRcPath %sdxroot%\admin\dsc\engine\lcm\strings.rc -outpath .\temp 4 | 5 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/mofcomp.ps1: -------------------------------------------------------------------------------- 1 | sd edit ..\..\mof\MSFT_DSCMetaConfiguration.mof 2 | sd edit ..\..\mof\MSFT_DSCMetaConfiguration.mfl 3 | mofcomp -mof:..\..\mof\MSFT_DSCMetaConfiguration.mof -mfl:..\..\mof\MSFT_DSCMetaConfiguration.mfl -amendment:MS_409 .\MSFT_DSCMetaConfiguration.mof 4 | -------------------------------------------------------------------------------- /LCM/dsc/engine/mof/non-win/MSFT_LogResource.mof: -------------------------------------------------------------------------------- 1 | 2 | [Description("This resource is used to send user provided messages to DSC specific channel on the DSC managed node."), ClassVersion("1.0.0")] 3 | class MSFT_LogResource : OMI_BaseResource 4 | { 5 | [required] string Message; 6 | }; 7 | -------------------------------------------------------------------------------- /LCM/dsc/mof/DscCoreConfProv.dll.mui.mflt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/DscCoreConfProv.dll.mui.mflt -------------------------------------------------------------------------------- /LCM/dsc/mof/DscCoreConfProv.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/DscCoreConfProv.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/DscCoreConfProv.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/DscCoreConfProv.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_BaseResourceConfiguration.mof: -------------------------------------------------------------------------------- 1 | // =============================================================== 2 | // MSFT_BaseResourceConfiguration 3 | // =============================================================== 4 | #pragma include("cim_schema_2.26.0.mof") 5 | [Abstract, 6 | version("1.0.0"), 7 | Description ( 8 | "Base schema for all native configuration providers." )] 9 | class MSFT_BaseResourceConfiguration 10 | { 11 | 12 | }; 13 | -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_BaseResourceConfigurationUE.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_BaseResourceConfigurationUE.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_BaseResourceConfigurationUE.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_BaseResourceConfigurationUE.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_DSCMetaConfiguration.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_DSCMetaConfiguration.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_FileDirectoryConfiguration.registration.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_FileDirectoryConfiguration.registration.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_FileDirectoryConfiguration.registration.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_FileDirectoryConfiguration.registration.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_FileDirectoryConfiguration.schema.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_FileDirectoryConfiguration.schema.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_FileDirectoryConfiguration.schema.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_FileDirectoryConfiguration.schema.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_LogResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | 3 | { 4 | 5 | className = "MSFT_LogResource"; 6 | 7 | DSCEngineCompatVersion = "1.0.0"; 8 | 9 | DSCModuleVersion = "1.0.0"; 10 | 11 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 12 | 13 | }; 14 | 15 | 16 | -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_LogResource.schema.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_LogResource.schema.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_LogResource.schema.mof: -------------------------------------------------------------------------------- 1 | #pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredstateConfiguration") 2 | 3 | [ClassVersion("1.0.0"),FriendlyName("Log")] 4 | class MSFT_LogResource : OMI_BaseResource 5 | { 6 | [required] string Message; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_RoleResource.schema.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_RoleResource.schema.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_RoleResource.schema.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_RoleResource.schema.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_ScriptBlockResource.schema.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_ScriptBlockResource.schema.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_ScriptBlockResource.schema.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_ScriptBlockResource.schema.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_ScriptResource.schema.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_ScriptResource.schema.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/MSFT_ScriptResource.schema.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/MSFT_ScriptResource.schema.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/OMI_BaseResourceUE.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/OMI_BaseResourceUE.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/codegen.txt: -------------------------------------------------------------------------------- 1 | REM do a build here so that you pull in the correct strings 2 | generate-localizedmfl -build -path %_nttree%\dsc\dsccore.dll -muipath %_nttree%\loc\src\bin\dsc\dsccore.dll.mui -namespace root/Microsoft/Windows/DesiredStateConfiguration -providername dsccore -HostingModel LocalSystemHost -outpath .\temp 3 | -------------------------------------------------------------------------------- /LCM/dsc/mof/dsccore.dll.mui.mflt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/dsccore.dll.mui.mflt -------------------------------------------------------------------------------- /LCM/dsc/mof/dsccore.mfl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/dsccore.mfl -------------------------------------------------------------------------------- /LCM/dsc/mof/dsccore.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/mof/dsccore.mof -------------------------------------------------------------------------------- /LCM/dsc/mof/dsccore_namespace.txt: -------------------------------------------------------------------------------- 1 | #pragma namespace("\\\\.\\root\\Microsoft\\Windows") 2 | 3 | [Locale(1033) : ToInstance, NamespaceSecuritySDDL("O:BAG:BAD:P(A;;CCDCLCSWRPWPRCWD;;;BA)(A;;CCDCRP;;;SY)(A;;CCDCRP;;;NS)")] 4 | Instance of __Namespace 5 | { 6 | Name = "DesiredStateConfiguration"; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/DependencyResolver6.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "g"; 4 | ModuleName="PsModuleForTEST_Test1"; 5 | ModuleVersion="1.0"; 6 | Id1 = "10"; 7 | DependsOn={"h"}; 8 | }; 9 | 10 | 11 | 12 | instance of TEST_Test1 13 | { 14 | ResourceId = "h"; 15 | ModuleName="PsModuleForTEST_Test1"; 16 | ModuleVersion="1.0"; 17 | Id1 = "17"; 18 | }; 19 | 20 | instance of OMI_ConfigurationDocument 21 | { 22 | Version="1.0.0"; 23 | 24 | }; 25 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/DependencyResolver7.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "g"; 4 | ModuleName="TEST_Test1"; 5 | ModuleVersion="1.0"; 6 | Id1 = "10"; 7 | }; 8 | 9 | 10 | 11 | instance of TEST_Test1 12 | { 13 | ResourceId = "h"; 14 | ModuleName="TEST_Test1"; 15 | ModuleVersion="1.0"; 16 | Id1 = "17"; 17 | DependsOn={"g"}; 18 | }; 19 | 20 | instance of OMI_ConfigurationDocument 21 | { 22 | Version="1.0.0"; 23 | 24 | }; 25 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/DependencyResolver8.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of TEST_Test1 3 | { 4 | ResourceId = "h"; 5 | ModuleName="TEST_Test1"; 6 | ModuleVersion="1.0"; 7 | Id1 = "17"; 8 | DependsOn={"h"}; 9 | }; 10 | 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | 15 | }; 16 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/DependencyResolver9.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "g"; 4 | ModuleName="TEST_Test1"; 5 | ModuleVersion="1.0"; 6 | Id1 = "10"; 7 | DependsOn={"h"}; 8 | }; 9 | 10 | 11 | instance of TEST_Test1 12 | { 13 | ResourceId = "h"; 14 | ModuleName="TEST_Test1"; 15 | ModuleVersion="1.0"; 16 | Id1 = "17"; 17 | DependsOn={"g"}; 18 | }; 19 | 20 | instance of OMI_ConfigurationDocument 21 | { 22 | Version="1.0.0"; 23 | 24 | }; 25 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/nits.test_ca.dll.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | .\DscUnitTestSetup.ps1 5 | 6 | 7 | 8 | 9 | .\DscUnitTestSetup.ps1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/CA/testinstance.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "Res1"; 4 | ModuleName="PsModuleForTEST_Test1"; 5 | ModuleVersion="1.0"; 6 | Id1 ="id1"; 7 | }; 8 | 9 | 10 | 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | 15 | }; 16 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/DSCTestProviders.mak: -------------------------------------------------------------------------------- 1 | TEST_PROVIDER_DIRS = \ 2 | TestFileProvider 3 | 4 | testproviders: 5 | for DIR in $(TEST_PROVIDER_DIRS); do \ 6 | if test $$DIR = Test_Indication; then \ 7 | $(MAKE) dep -C $$DIR; \ 8 | fi; \ 9 | $(MAKE) -C $$DIR; \ 10 | done \ 11 | 12 | regtestproviders: 13 | for DIR in $(TEST_PROVIDER_DIRS); do \ 14 | $(MAKE) regtest -C $$DIR; \ 15 | done \ 16 | 17 | cleantestproviders: 18 | for DIR in $(TEST_PROVIDER_DIRS); do \ 19 | $(MAKE) clean -C $$DIR; \ 20 | done \ 21 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/E2E/NITS.test_EngineE2E.dll.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | .\DscUnitTestSetup.ps1 5 | 6 | 7 | 8 | 9 | .\DscUnitTestSetup.ps1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/E2E/testLCMGet.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_FileDirectoryConfiguration 2 | { 3 | ResourceId = "StyleSheet"; 4 | ModuleName="PSDesiredStateConfiguration"; 5 | ModuleVersion="1.0"; 6 | DestinationPath = "C:\\Test.txt"; 7 | Ensure = "Present"; 8 | Type = "file"; 9 | contents="DDDD"; 10 | checksum = "sha-1"; 11 | }; 12 | 13 | 14 | instance of OMI_ConfigurationDocument 15 | { 16 | Version="1.0.0"; 17 | }; 18 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/E2E/testLCMGet2.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "Res1"; 4 | ModuleName="PsModuleForTEST_Test1"; 5 | ModuleVersion="1.0"; 6 | id1 = "ABCD ABCD"; 7 | }; 8 | 9 | 10 | instance of MSFT_LogResource 11 | { 12 | ResourceId = "Res3"; 13 | ModuleName="MSFT_LogResource"; 14 | ModuleVersion="1.0"; 15 | Message ="MSFT_LogResource"; 16 | }; 17 | 18 | instance of OMI_ConfigurationDocument 19 | { 20 | Version="1.0.0"; 21 | 22 | }; 23 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/Eventing/EventUnitTestCleanup.ps1: -------------------------------------------------------------------------------- 1 | if(Test-Path eventunitestdata) 2 | { 3 | del eventunitestdata -Force -Recurse 4 | } 5 | 6 | 7 | #disable the log 8 | wevtutil set-log Microsoft-Windows-DSC/Debug /e:false 9 | wevtutil set-log Microsoft-Windows-DSC/Analytic /e:false 10 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/Eventing/NITS.TestDscEventing.dll.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | .\DscUnitTestSetup.ps1 5 | 6 | 7 | 8 | 9 | .\DscUnitTestSetup.ps1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/GNUmakefile: -------------------------------------------------------------------------------- 1 | TESTTOP = .. 2 | 3 | DSCTOP = ../.. 4 | 5 | TOP = ../../.. 6 | 7 | include $(TOP)/config.mak 8 | 9 | DIRECTORIES = \ 10 | TestFileProvider 11 | 12 | include $(OMI)/mak/rules.mak 13 | -include DSCTestProviders.mak 14 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/LCM/Test_Stop.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Stop 2 | { 3 | ResourceId = "Res1"; 4 | ModuleName="TEST_Stop"; 5 | ModuleVersion="1.0"; 6 | id1 = "ABCD ABCD"; 7 | }; 8 | 9 | instance of OMI_ConfigurationDocument 10 | { 11 | Version="1.0.0"; 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/LCM/Test_crontab1: -------------------------------------------------------------------------------- 1 | SHELL=/bin/bash 2 | PATH=/sbin:/bin:/usr/sbin:/usr/bin 3 | MAILTO=root 4 | HOME=/ 5 | 6 | # For details see man 4 crontabs 7 | 8 | # Example of job definition: 9 | # .---------------- minute (0 - 59) 10 | # | .------------- hour (0 - 23) 11 | # | | .---------- day of month (1 - 31) 12 | # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... 13 | # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat 14 | # | | | | | 15 | # * * * * * user-name command to be executed 16 | * * * * * root abc 17 | */120 * * * * root xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 18 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/LCM/testLCM3User.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test3User 2 | { 3 | ResourceId = "Res1"; 4 | ModuleName="PsModuleForTEST_Test3User"; 5 | ModuleVersion="1.0"; 6 | id1 = "ABCD ABCD"; 7 | }; 8 | 9 | instance of TEST_Test3User 10 | { 11 | ResourceId = "Res2"; 12 | ModuleName="PsModuleForTEST_Test3User"; 13 | ModuleVersion="1.0"; 14 | id1 = "rtgt rtgt"; 15 | }; 16 | 17 | instance of OMI_ConfigurationDocument 18 | { 19 | Version="1.0.0"; 20 | 21 | }; 22 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/ModuleLoader/testModuleLoader2.mof: -------------------------------------------------------------------------------- 1 | instance of TEST_Test1 2 | { 3 | ResourceId = "Res1"; 4 | ModuleName="PsModuleForTEST_Test1"; 5 | ModuleVersion="1.0"; 6 | id1 = "ABCD ABCD"; 7 | }; 8 | 9 | instance of TEST_Test1 10 | { 11 | ResourceId = "Res2"; 12 | ModuleName="PsModuleForTEST_Test1"; 13 | ModuleVersion="1.0"; 14 | id1 = "rtgt rtgt"; 15 | }; 16 | 17 | instance of OMI_ConfigurationDocument 18 | { 19 | Version="1.0.0"; 20 | 21 | }; 22 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/TestFileProvider/MSFT_FileDirectoryConfiguration.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_FileDirectoryConfiguration"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "dsc"; 8 | }; 9 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/TestProvider/GNUmakefile: -------------------------------------------------------------------------------- 1 | TESTTOP = ../.. 2 | 3 | DSCTOP = ../../.. 4 | 5 | TOP = ../../../.. 6 | 7 | 8 | include $(TOP)/config.mak 9 | 10 | CXXUNITTEST = NITSDSCTestProvider 11 | 12 | 13 | SOURCES= \ 14 | module.c \ 15 | schema.c \ 16 | TEST_Stop.c \ 17 | TEST_Test2.c \ 18 | TEST_Test1.c \ 19 | TEST_Test4NoOMI.c \ 20 | Test_Test3User.c \ 21 | 22 | INCLUDES= \ 23 | $(OMI) \ 24 | $(OMI)/common \ 25 | $(OMI)/common/inc \ 26 | 27 | DEFINES= TEST_BUILD 28 | 29 | LIBRARIES = mi pal 30 | 31 | include $(OMI)/mak/rules.mak 32 | 33 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/TestProvider/Generate.txt: -------------------------------------------------------------------------------- 1 | Convert-MofToProvider.exe -moffile Test_Test.mof -classlist TEST_TEST1 TEST_Test2 Test_Stop TEST_Test3User TEST_Test4NoOMI -includepath d:\blue\admin\dsc\engine\mof E:\WinBlueM1\admin\wmi\wmiv2\CIM-2.26.0 2 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/TestProvider/NITS.TestDSCProvider.dll.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | .\DscUnitTestSetup.ps1 5 | 6 | 7 | 8 | 9 | .\DscUnitTestSetup.ps1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Engine/TestProvider/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY NITS.TestDSCProvider.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/OMI_Test2ResourceModule/Test2Resource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test2"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="dsc"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/OMI_Test3UserResourceModule/Test3UserResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test3User"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="dsc"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/OMI_TestResourceModule/TestResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test1"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="dsc"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/OMI_TestStopResourceModule/TestStopResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Stop"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="dsc"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/Test2ResourceModule/Test2Resource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test2"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="root/Microsoft/Windows/DesiredStateConfiguration"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/Test3UserResourceModule/Test3UserResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test3User"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="root/microsoft/windows/desiredstateconfiguration"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/Test4NoOMIResourceModule/Test4NoOMIResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test4NoOMI"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="root/microsoft/windows/desiredstateconfiguration"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/TestResourceModule/TestResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Test1"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="root/microsoft/windows/desiredstateconfiguration"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Reg/TestStopResourceModule/TestStopResource.registration.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className="TEST_Stop"; 4 | DSCEngineCompatVersion="1.0.0"; 5 | DSCModuleVersion="1.0.0"; 6 | Namespace="root/Microsoft/Windows/DesiredStateConfiguration"; 7 | }; 8 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Sch/Test2ResourceModule/Test2Resource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | [Abstract, ClassVersion("1.0.0")] 3 | class TEST_Test2 : OMI_BaseResource 4 | { 5 | [key] 6 | uint32 Id1; 7 | 8 | [write] 9 | uint32 db1; 10 | 11 | [read] 12 | sint32 db2; 13 | 14 | 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Sch/Test3UserResourceModule/Test3UserResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | [Abstract, ClassVersion("1.0.0")] 3 | class TEST_Test3User : OMI_BaseResource 4 | { 5 | [key] 6 | uint32 Id1; 7 | 8 | [write] 9 | uint32 db1; 10 | 11 | [read] 12 | sint32 db2; 13 | 14 | 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Sch/Test4NoOMIResourceModule/Test4NoOMIResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | [Abstract, ClassVersion("1.0.0")] 3 | class TEST_Test4NoOMI : OMI_BaseResource 4 | { 5 | [key] 6 | uint32 Id1; 7 | 8 | [write] 9 | uint32 db1; 10 | 11 | [read] 12 | sint32 db2; 13 | 14 | 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Sch/TestResourceModule/TestResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | [Abstract, ClassVersion("1.0.0")] 3 | class TEST_Test1 : OMI_BaseResource 4 | { 5 | [key] 6 | string Id1; 7 | 8 | [write] 9 | string db1; 10 | 11 | [read] 12 | string db2; 13 | 14 | 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /LCM/dsc/tests/Module/Sch/TestStopResourceModule/TestStopResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class TEST_Stop : OMI_BaseResource 3 | { 4 | [key] 5 | string Id1; 6 | }; 7 | -------------------------------------------------------------------------------- /LCM/dsc/tests/nonWin/nitsdscargs.txt: -------------------------------------------------------------------------------- 1 | -install 2 | -reset 3 | -match:Common,Linux 4 | -target:libdsccore.so 5 | +loglevel:3 6 | libNITSDSCtestCA.so 7 | libNITSDSCtestLCM.so 8 | libNITSDSCtestEngineE2E.so 9 | libNITSDSCtestModuleLoader.so 10 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/FileUnitTestCleanup.ps1: -------------------------------------------------------------------------------- 1 | param( 2 | [switch][Parameter(Mandatory=$false, Position=0)]$keepcache=$false 3 | ) 4 | 5 | if(Test-Path fileunitestdata) 6 | { 7 | del fileunitestdata -Force -Recurse 8 | } 9 | if($keepcache -eq $false -and (Test-Path $env:windir"\system32\Configuration\BuiltinProvCache\MSFT_FileDirectoryConfiguration")) 10 | { 11 | del $env:windir"\system32\Configuration\BuiltinProvCache\MSFT_FileDirectoryConfiguration" -Force -Recurse 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/FileUnitTestCredentialCleanup.ps1: -------------------------------------------------------------------------------- 1 | param( 2 | [switch][Parameter(Mandatory=$false, Position=0)]$keepcache=$false 3 | ) 4 | 5 | #delete the share 6 | net share credentialshare /delete 7 | 8 | #delete the folder 9 | .\FileUnitTestCleanup.ps1 $keepcache 10 | #delete the user 11 | 12 | $computer="localhost" 13 | $user = "paxnj" 14 | 15 | 16 | 17 | $objOu = [ADSI]"WinNT://$computer" 18 | $objOu.delete("user", $user) 19 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/FileUnitTestGetOperationCleanup.ps1: -------------------------------------------------------------------------------- 1 | if(Test-Path fileunitestdata) 2 | { 3 | del fileunitestdata -Force -Recurse 4 | } 5 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/FileUnitTestTestOperationCleanup.ps1: -------------------------------------------------------------------------------- 1 | if(Test-Path fileunitestdata) 2 | { 3 | del fileunitestdata -Force -Recurse 4 | } 5 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/NITS.TestDscCoreProv.dll.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ..\..\..\LCM\UnitTests\DscUnitTestSetup.ps1 5 | 6 | 7 | 8 | 9 | ..\..\..\LCM\UnitTests\DscUnitTestSetup.ps1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /LCM/dsc/tests/providers/nativeproviders/TestDscCoreProv.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/dsc/tests/providers/nativeproviders/TestDscCoreProv.rc -------------------------------------------------------------------------------- /LCM/dsccore.reg: -------------------------------------------------------------------------------- 1 | # omireg /home/johnkord/dev/imp/dsc/omi-1.0.8/output/lib/libdsccore.so 2 | HOSTING=@requestor@ 3 | LIBRARY=dsccore 4 | PREEXEC=/opt/microsoft/dsc/bin/omi_preexec.sh 5 | EXTRACLASS=MSFT_Credential 6 | CLASS=MSFT_DSCLocalConfigurationManager 7 | EXTRACLASS=MSFT_DSCMetaConfiguration 8 | CLASS=MSFT_DSCWebPullClient 9 | EXTRACLASS=MSFT_KeyValuePair 10 | EXTRACLASS=MSFT_LogResource:OMI_BaseResource 11 | EXTRACLASS=MSFT_ModuleSpecification 12 | EXTRACLASS=OMI_Error:CIM_Error 13 | -------------------------------------------------------------------------------- /LCM/gen/dsccore/MSFT_Credential.mof: -------------------------------------------------------------------------------- 1 | [Abstract, 2 | ClassVersion("1.0.0"), 3 | Description ( 4 | "Credential to use for DSC configuration providers." )] 5 | class MSFT_Credential 6 | { 7 | [Description 8 | ("UserName is the name of the user that an authorization service maps to an identity." ), 9 | MaxLen ( 256 )] 10 | string UserName; 11 | [Description 12 | ("The UserPassword property may contain a password used to access resources." )] 13 | string Password; 14 | }; 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /LCM/gen/dsccore/MSFT_KeyValuePair.mof: -------------------------------------------------------------------------------- 1 | [Abstract, 2 | Description( 3 | "This represents a key-value pair."), 4 | ClassVersion("1.0.0")] 5 | class MSFT_KeyValuePair 6 | { 7 | [Key] 8 | string Key; 9 | 10 | [write] 11 | string Value; 12 | }; 13 | -------------------------------------------------------------------------------- /LCM/gen/dsccore/OMI_MetaConfigurationResource.mof: -------------------------------------------------------------------------------- 1 | // =============================================================== 2 | // OMI_MetaConfigurationResource 3 | // =============================================================== 4 | [Abstract, 5 | ClassVersion("1.0.0"), 6 | Description ( 7 | "Base schema for all Metaconfiguration resources." )] 8 | class OMI_MetaConfigurationResource 9 | { 10 | 11 | [required] 12 | string ResourceId; 13 | 14 | [write] 15 | string SourceInfo; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /LCM/gen/nxservice_and_nxpackage/OMI_BaseResource.mof: -------------------------------------------------------------------------------- 1 | // =============================================================== 2 | // OMI_BaseResource 3 | // =============================================================== 4 | [Abstract, 5 | ClassVersion("1.0.0"), 6 | Description ( 7 | "Base schema for all native configuration providers." )] 8 | class OMI_BaseResource 9 | { 10 | 11 | }; 12 | 13 | -------------------------------------------------------------------------------- /LCM/json_parson/GNUmakefile: -------------------------------------------------------------------------------- 1 | TOP = .. 2 | include $(TOP)/config.mak 3 | 4 | LIBRARY = json_parson 5 | 6 | SOURCES = \ 7 | parson.c 8 | 9 | include $(OMI)/mak/rules.mak 10 | 11 | -------------------------------------------------------------------------------- /LCM/json_parson/Makefile.orig: -------------------------------------------------------------------------------- 1 | CC = gcc 2 | CFLAGS = -O0 -g -Wall -Wextra -std=c89 -pedantic-errors 3 | 4 | CPPC = g++ 5 | CPPFLAGS = -O0 -g -Wall -Wextra 6 | 7 | all: test testcpp 8 | 9 | .PHONY: test testcpp 10 | test: tests.c parson.c 11 | $(CC) $(CFLAGS) -o $@ tests.c parson.c 12 | ./$@ 13 | 14 | testcpp: tests.c parson.c 15 | $(CPPC) $(CPPFLAGS) -o $@ tests.c parson.c 16 | ./$@ 17 | 18 | clean: 19 | rm -f test *.o 20 | 21 | -------------------------------------------------------------------------------- /LCM/json_parson/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "parson", 3 | "version": "0.0.0", 4 | "repo": "kgabis/parson", 5 | "description": "Small json parser and reader", 6 | "keywords": [ "json", "parser" ], 7 | "license": "MIT", 8 | "src": [ 9 | "parson.c", 10 | "parson.h" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /LCM/json_parson/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/json_parson/test -------------------------------------------------------------------------------- /LCM/json_parson/testcpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/LCM/json_parson/testcpp -------------------------------------------------------------------------------- /LCM/json_parson/tests/test_1_3.txt: -------------------------------------------------------------------------------- 1 | { 2 | "JSON Test Pattern pass3": { 3 | "The outermost value": "must be an object or array.", 4 | "In this test": "It is an object." 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /LCM/json_parson/tests/test_5.txt: -------------------------------------------------------------------------------- 1 | { 2 | "first": "John", 3 | "last": "Doe", 4 | "age": 25, 5 | "registered": true, 6 | "interests": [ "Reading", "Mountain Biking" ], 7 | "favorites": { 8 | "color": "blue", 9 | "sport": "running" 10 | }, 11 | "utf string" : "\u006corem\u0020ipsum", 12 | "utf-8 string": "あいうえお", 13 | "surrogate string": "lorem\uD834\uDD1Eipsum\uD834\uDF67lorem", 14 | "windows path": "C:\\Windows\\Path" 15 | } -------------------------------------------------------------------------------- /LCM/omiutils/GNUmakefile: -------------------------------------------------------------------------------- 1 | TOP = .. 2 | include $(TOP)/config.mak 3 | 4 | LIBRARY = mofparsererror 5 | 6 | SOURCES = errors.c errorswrap.c omiutils.c 7 | 8 | INCLUDES = $(OMI) $(OMI)/common 9 | 10 | DEFINES = MI_CONST= $(BUILD_OMS) 11 | 12 | # LIBRARIES = base 13 | 14 | include $(OMI)/mak/rules.mak 15 | 16 | -------------------------------------------------------------------------------- /LCM/omiutils/mofs/gen.mof: -------------------------------------------------------------------------------- 1 | #pragma include ("OMI_Errors.mof") 2 | CLASS DummyClass 3 | { 4 | [KEY] UINT32 name; 5 | }; 6 | -------------------------------------------------------------------------------- /LCM/omiutils/sources.inc: -------------------------------------------------------------------------------- 1 | TOP = ..\.. 2 | 3 | TARGETNAME=omiutils 4 | TARGETTYPE=LIBRARY 5 | 6 | INCLUDES= $(INCLUDES); \ 7 | $(TOP); \ 8 | $(TOP)\nits\base; \ 9 | $(TOP)\pal; \ 10 | $(TOP)\monitoring\etw; \ 11 | $(TOP)\monitoring\perf; \ 12 | 13 | 14 | SOURCES= \ 15 | ..\omiutils.c \ 16 | ..\errorswrap.c \ 17 | -------------------------------------------------------------------------------- /LCM/omsconfig.reg: -------------------------------------------------------------------------------- 1 | # omireg /home/johnkord/dev/imp/dsc/omi-1.0.8/output/lib/libomsconfig.so 2 | HOSTING=@requestor@ 3 | LIBRARY=omsconfig 4 | EXTRACLASS=MSFT_Credential 5 | CLASS=MSFT_DSCLocalConfigurationManager 6 | EXTRACLASS=MSFT_DSCMetaConfiguration 7 | CLASS=MSFT_DSCWebPullClient 8 | EXTRACLASS=MSFT_KeyValuePair 9 | EXTRACLASS=MSFT_LogResource:OMI_BaseResource 10 | EXTRACLASS=MSFT_ModuleSpecification 11 | EXTRACLASS=OMI_Error:CIM_Error 12 | -------------------------------------------------------------------------------- /LCM/scripts/ImportGPGKey.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -z "$1" ]; then 4 | echo "Usage:" 5 | echo " $0 PUBLIC_GPG_KEY" 6 | exit 1 7 | fi 8 | 9 | if [ -z "$2" ]; then 10 | KEYRING_NAME="keyring.gpg" 11 | else 12 | KEYRING_NAME=$2 13 | fi 14 | 15 | DSC_ETC_DIR=/ 16 | HOME=$DSC_ETC_DIR gpg --no-default-keyring --keyring $DSC_ETC_DIR/$KEYRING_NAME --import $1 17 | RETVAL=$? 18 | 19 | if [ "" = "omsagent" ]; then 20 | if [ `id -u` = 0 ] ; then 21 | chown omsagent $DSC_ETC_DIR/$KEYRING_NAME 22 | fi 23 | fi 24 | 25 | exit $RETVAL 26 | -------------------------------------------------------------------------------- /LCM/scripts/omi_preexec.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ ! -f /etc/opt/omi/conf/dsc/configuration/schema/MSFT_nxFileResource/MSFT_nxFileResource.schema.mof -o ! -f /opt/microsoft/dsc/Scripts/2.6x-2.7x/Scripts/nxFile.py -o ! -f /opt/omi/lib/libMSFT_nxFileResource.so ]; then 3 | /opt/microsoft/dsc/Scripts/InstallModule.py /opt/microsoft/dsc/module_packages/nx_1.0.zip 0 4 | fi 5 | exit 0 6 | -------------------------------------------------------------------------------- /LCM/scripts/python3/omi_preexec.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ ! -f /etc/opt/omi/conf/dsc/configuration/schema/MSFT_nxFileResource/MSFT_nxFileResource.schema.mof -o ! -f /opt/microsoft/dsc/Scripts/3.x/Scripts/nxFile.py -o ! -f /opt/omi/lib/libMSFT_nxFileResource.so ]; then 3 | /opt/microsoft/dsc/Scripts/InstallModule.py /opt/microsoft/dsc/module_packages/nx_1.0.zip 0 4 | fi 5 | exit 0 6 | -------------------------------------------------------------------------------- /Providers/Extras/Configuration_MOFs/nxGroup_1.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxGroupResource 2 | { 3 | GroupName = "testgroup"; 4 | PreferredGroupID = "543"; 5 | MembersToInclude = { "root", "ftp", "lp", "daemon", "apache", "johnkord" }; 6 | MembersToExclude = { "johnkord" }; 7 | ResourceId = "[MSFT_nxGroupResource]Test"; 8 | ModuleName = "nx"; 9 | ModuleVersion = "1.0"; 10 | 11 | 12 | }; 13 | 14 | instance of OMI_ConfigurationDocument 15 | { 16 | Version="1.0.0"; 17 | 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /Providers/Extras/Configuration_MOFs/nxService_1.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxServiceResource 2 | { 3 | Name = "cgconfig"; 4 | Controller = "init"; 5 | Enabled = True; 6 | State = "Stopped"; 7 | 8 | ResourceId = "[MSFT_nxServiceResource]TestService"; 9 | ModuleName = "nx"; 10 | ModuleVersion = "1.0"; 11 | 12 | }; 13 | 14 | instance of OMI_ConfigurationDocument 15 | { 16 | Version="1.0.0"; 17 | 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /Providers/Extras/Configuration_MOFs/nxUser_1.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxUserResource 2 | { 3 | UserName = "testuser"; 4 | Disabled = true; 5 | PasswordChangeRequired = true; 6 | Password = "$abcdef"; 7 | Ensure = "Present"; 8 | Description = "DESCRIBED"; 9 | HomeDirectory = "/home/testdir"; 10 | GroupID = "0"; 11 | FullName = "Dr. Test User"; 12 | 13 | ResourceId = "[MSFT_nxUserResource]Test"; 14 | ModuleName = "nx"; 15 | ModuleVersion = "1.0"; 16 | 17 | 18 | }; 19 | 20 | instance of OMI_ConfigurationDocument 21 | { 22 | Version="1.0.0"; 23 | 24 | }; 25 | 26 | -------------------------------------------------------------------------------- /Providers/Extras/Example DSCs/nxFileExample1.ps1: -------------------------------------------------------------------------------- 1 | Configuration nxFileExample1 2 | { 3 | Import-DscResource -Module nx 4 | 5 | Node MyLinuxHostname 6 | { 7 | nxFile TestLinuxFile 8 | { 9 | Ensure = "Present" 10 | Type = "File" 11 | Contents = "testing nxFile\n" 12 | DestinationPath = "/tmp/test_linux_file.txt" 13 | } 14 | } 15 | } 16 | 17 | nxFileExample1 -------------------------------------------------------------------------------- /Providers/Extras/Provider_gen/MSFT/MSFT_Credential.mof: -------------------------------------------------------------------------------- 1 | [Abstract, 2 | ClassVersion("1.0.0"), 3 | Description ( 4 | "Credential to use for DSC configuration providers." )] 5 | class MSFT_Credential 6 | { 7 | [Description 8 | ("UserName is the name of the user that an authorization service maps to an identity." ), 9 | MaxLen ( 256 )] 10 | string UserName; 11 | [Description 12 | ("The UserPassword property may contain a password used to access resources." )] 13 | string Password; 14 | }; 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Providers/Extras/Provider_gen/MSFT/MSFT_Qualifiers.mof: -------------------------------------------------------------------------------- 1 | Qualifier Stream : boolean = false, 2 | Scope( method, parameter), 3 | Flavor(DisableOverride, ToSubclass); 4 | 5 | Qualifier ClassVersion : string = null, 6 | Scope(class, association, indication), 7 | Flavor(EnableOverride, Restricted); 8 | 9 | Qualifier FriendlyName : string = null, 10 | Scope(any), 11 | Flavor(Restricted); -------------------------------------------------------------------------------- /Providers/Extras/Provider_gen/MSFT/OMI_BaseResource.mof: -------------------------------------------------------------------------------- 1 | // =============================================================== 2 | // OMI_BaseResource 3 | // =============================================================== 4 | #pragma include("cim_schema_2.26.0.mof") 5 | #pragma include("MSFT_Qualifiers.mof") 6 | [Abstract, 7 | ClassVersion("1.0.0"), 8 | Description ( 9 | "Base schema for all native configuration providers." )] 10 | class OMI_BaseResource 11 | { 12 | 13 | }; 14 | 15 | -------------------------------------------------------------------------------- /Providers/Extras/Provider_gen/script.txt: -------------------------------------------------------------------------------- 1 | & "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\convert-moftoprovider.exe" -MofFile .\Linux_File.mof -classlist Linux_File -includepath C:\CIM\CIM-2.26.0 C:\CIM\MSFT -outpath .\temp 2 | 3 | 4 | PS C:\Users\jkordic\Documents\test_prov> & "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\convert-moftoprovider.exe" - 5 | MofFile .\MSFT_File.mof -classlist MSFT_File -includepath C:\CIM\CIM-2.26.0 C:\CIM\MSFT -outpath .\temp 6 | 7 | 8 | 9 | ./output/bin/omicli iv "/dsc" { MSFT_DSCLocalConfigurationManager } GetConfiguration 10 | -------------------------------------------------------------------------------- /Providers/Extras/Scripts/File_Configuration_test1.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Extras/Scripts/File_Configuration_test1.ps1 -------------------------------------------------------------------------------- /Providers/Extras/Scripts/agentid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Extras/Scripts/agentid.txt -------------------------------------------------------------------------------- /Providers/Extras/Scripts/base_dsc.conf: -------------------------------------------------------------------------------- 1 | NoSSLv3=false 2 | DoNotCheckCertificate=false 3 | #sslCipherSuite= 4 | #CURL_CA_BUNDLE= 5 | #PROXY= 6 | -------------------------------------------------------------------------------- /Providers/Extras/Scripts/logrotate.conf: -------------------------------------------------------------------------------- 1 | /var/opt/omi/log/*.log { 2 | rotate 5 3 | sharedscripts 4 | weekly 5 | compress 6 | postrotate 7 | /opt/omi/bin/service_control restart 8 | endscript 9 | } 10 | 11 | /var/opt/omi/log/dscdetailed.log { 12 | rotate 5 13 | sharedscripts 14 | size 50M 15 | compress 16 | } -------------------------------------------------------------------------------- /Providers/Extras/Scripts/omsconfig_logrotate.conf: -------------------------------------------------------------------------------- 1 | /var/opt/microsoft/omsconfig/omsconfig.log { 2 | rotate 5 3 | sharedscripts 4 | weekly 5 | size 50M 6 | compress 7 | } 8 | 9 | /var/opt/microsoft/omsconfig/omsconfigdetailed.log { 10 | rotate 5 11 | sharedscripts 12 | size 50M 13 | compress 14 | } -------------------------------------------------------------------------------- /Providers/Extras/Windows Module/README.txt: -------------------------------------------------------------------------------- 1 | Please put the folder in this directory into: 2 | C:\Windows\System32\WindowsPowerShell\v1.0\Modules 3 | 4 | This will allow the building of configuration MOF files from configuration files in powershell using our new definition MOFs for Linux. -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxArchiveResource/MSFT_nxArchiveResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxArchive")] 2 | class MSFT_nxArchiveResource : OMI_BaseResource 3 | { 4 | [Key] string SourcePath; 5 | [Key] string DestinationPath; 6 | [write,ValueMap{"ctime", "mtime", "md5"},Values{"ctime", "mtime","md5"}] string Checksum; 7 | [write] boolean Force; 8 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 9 | }; 10 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxAvailableUpdates/MSFT_nxAvailableUpdatesResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxAvailableUpdates")] 2 | class MSFT_nxAvailableUpdatesResource:OMI_BaseResource 3 | { 4 | [Key] string Name; 5 | [read] string BuildDate; 6 | [read] string Repository; 7 | [read] string Version; 8 | [read] string Architecture; 9 | 10 | }; 11 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxEnvironmentResource/MSFT_nxEnvironmentResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), Description("The configuration provider for environment variable control."), FriendlyName("nxEnvironment")] 2 | class MSFT_nxEnvironmentResource:OMI_BaseResource 3 | { 4 | [Key] string Name; 5 | [write] string Value; 6 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 7 | [Write] boolean Path; 8 | }; 9 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxFileLineResource/MSFT_nxFileLineResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxFileLine")] 2 | class MSFT_nxFileLineResource : OMI_BaseResource 3 | { 4 | [key,required] string FilePath; 5 | [write] string DoesNotContainPattern; 6 | [key,required] string ContainsLine; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxGroupResource/MSFT_nxGroupResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxGroup")] 2 | class MSFT_nxGroupResource:OMI_BaseResource 3 | { 4 | [Key] string GroupName; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string Members[]; 7 | [write] string MembersToInclude[]; 8 | [write] string MembersToExclude[]; 9 | [write] string PreferredGroupID; 10 | 11 | }; -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxScriptResource/MSFT_nxScriptResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxScript")] 2 | class MSFT_nxScriptResource : OMI_BaseResource 3 | { 4 | [Key] string GetScript; 5 | [Key] string SetScript; 6 | [Key] string TestScript; 7 | [write] string User; 8 | [write] string Group; 9 | [Read] string Result; 10 | }; 11 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxServiceResource/MSFT_nxServiceResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxService")] 2 | class MSFT_nxServiceResource : OMI_BaseResource 3 | { 4 | [key] string Name; 5 | [required, write,ValueMap{"init", "upstart", "systemd", "*"},Values{"init","upstart","systemd", "*"}] string Controller; 6 | [write] boolean Enabled; 7 | [write,ValueMap{"Running", "Stopped"},Values{"Running", "Stopped"}] string State; 8 | [read] boolean IsEnabled; 9 | [read] string Status; 10 | [read] string Path; 11 | }; 12 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxSshAuthorizedKeysResource/MSFT_nxSshAuthorizedKeysResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), Description("The configuration provider for ssh authorized key control."), FriendlyName("nxSshAuthorizedKeys")] 2 | class MSFT_nxSshAuthorizedKeysResource:OMI_BaseResource 3 | { 4 | [Key] string KeyComment; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string UserName; 7 | [write] string Key; 8 | }; 9 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/DSCResources/MSFT_nxUserResource/MSFT_nxUserResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxUser")] 2 | class MSFT_nxUserResource : OMI_BaseResource 3 | { 4 | [Key] string UserName; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string FullName; 7 | [write] string Description; 8 | [write] string Password; 9 | [write] boolean Disabled; 10 | [write] boolean PasswordChangeRequired; 11 | [write] string HomeDirectory; 12 | [write] string GroupID; 13 | }; 14 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nx/Readme.txt: -------------------------------------------------------------------------------- 1 | Copy everything in this folder into C:\Windows\System32\WindowsPowerShell\v1.0\Modules\nx\ -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nxComputerManagement/DSCResources/MSFT_nxComputerResource/MSFT_nxComputerResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | 3 | [ClassVersion("1.0.0"), FriendlyName("nxComputer")] 4 | class MSFT_nxComputerResource : OMI_BaseResource 5 | { 6 | [key] string Name; 7 | [Write] string DNSDomainName; 8 | [Write] string TimeZoneName; 9 | [Write] string AlternateTimeZoneName; 10 | 11 | }; 12 | 13 | 14 | -------------------------------------------------------------------------------- /Providers/Extras/nx Windows Powershell Module/nxNetworking/DSCResources/MSFT_nxDNSServerAddressResource/MSFT_nxDNSServerAddressResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxDNSServerAddress")] 2 | class MSFT_nxDNSServerAddressResource:OMI_BaseResource 3 | { 4 | [Key] string Address[]; 5 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [Write,ValueMap{"IPv4", "IPv6"},Values{"IPv4", "IPv6"}] string AddressFamily; 7 | }; -------------------------------------------------------------------------------- /Providers/Modules/NPM/Agent/32/npmd_agent_x32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/NPM/Agent/32/npmd_agent_x32 -------------------------------------------------------------------------------- /Providers/Modules/NPM/Agent/64/PingEngine.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/NPM/Agent/64/PingEngine.so -------------------------------------------------------------------------------- /Providers/Modules/NPM/Agent/64/npmd_agent_x64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/NPM/Agent/64/npmd_agent_x64 -------------------------------------------------------------------------------- /Providers/Modules/NPM/Agent/64/zlib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/NPM/Agent/64/zlib.so -------------------------------------------------------------------------------- /Providers/Modules/NPM/Plugin/conf/npmd.conf: -------------------------------------------------------------------------------- 1 | 2 | type npmd 3 | tag oms.npmd 4 | omsadmin_conf_path "/etc/opt/microsoft/omsagent/conf/omsadmin.conf" 5 | location_unix_endpoint "/var/opt/microsoft/omsagent/npm_state/npmdagent.sock" 6 | location_control_data "/etc/opt/microsoft/omsagent/conf/npmd_agent_config.xml" 7 | location_agent_binary "/opt/microsoft/omsagent/plugin/npmd_agent" 8 | 9 | 10 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/Nagios/conf/nagios.conf: -------------------------------------------------------------------------------- 1 | 2 | type tail 3 | path /var/log/nagios/nagios.log 4 | format none 5 | tag oms.nagios 6 | 7 | 8 | 9 | type filter_nagios_log 10 | 11 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/PatchManagement/conf/patch_management_inventory.mof: -------------------------------------------------------------------------------- 1 | /* 2 | @TargetNode='Localhost' 3 | */ 4 | 5 | instance of MSFT_nxAvailableUpdatesResource 6 | { 7 | Name = "*"; 8 | ResourceId = "[MSFT_nxAvailableUpdates]Inventory"; 9 | ModuleName = "nx"; 10 | ModuleVersion = "1.0"; 11 | }; 12 | 13 | 14 | instance of OMI_ConfigurationDocument 15 | { 16 | DocumentType = "inventory"; 17 | 18 | Version="2.0.0"; 19 | MinimumCompatibleVersion = "2.0.0"; 20 | Name="InventoryConfig"; 21 | }; 22 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/PatchManagement/conf/update_management.conf: -------------------------------------------------------------------------------- 1 | 2 | @type tail 3 | tag oms.update_run_progress.log 4 | path /var/opt/microsoft/omsagent/log/urp.log 5 | pos_file /var/opt/microsoft/omsagent/log/urp.log.pos 6 | format json 7 | 8 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/SecurityBaseline/plugin/SecurityBaselineVersion.txt: -------------------------------------------------------------------------------- 1 | 2.24.1-261 -------------------------------------------------------------------------------- /Providers/Modules/Plugins/SoftwareChangeTracking/conf/change_tracking_inventory.mof: -------------------------------------------------------------------------------- 1 | /* 2 | @TargetNode='Localhost' 3 | */ 4 | 5 | instance of MSFT_nxPackageResource 6 | { 7 | Name = "*"; 8 | ResourceId = "[MSFT_nxPackageResource]Inventory"; 9 | ModuleName = "nx"; 10 | ModuleVersion = "1.0"; 11 | 12 | 13 | }; 14 | 15 | instance of OMI_ConfigurationDocument 16 | { 17 | DocumentType = "inventory"; 18 | 19 | Version="2.0.0"; 20 | MinimumCompatibleVersion = "2.0.0"; 21 | Name="InventoryConfig"; 22 | 23 | 24 | }; 25 | 26 | 27 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/VMInsights/conf/vminsights.conf: -------------------------------------------------------------------------------- 1 | 2 | type vminsights 3 | tag oms.vminsights 4 | 5 | 6 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins/Zabbix/conf/zabbix.conf: -------------------------------------------------------------------------------- 1 | 2 | type zabbix_alerts 3 | run_interval 1m 4 | tag oms.zabbix 5 | zabbix_url http://localhost/zabbix/api_jsonrpc.php 6 | zabbix_username Admin 7 | zabbix_password zabbix 8 | -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x64/ProcessInvestigator/plugin/pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x64/ProcessInvestigator/plugin/pi -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x64/SecurityBaseline/plugin/omsbaseline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x64/SecurityBaseline/plugin/omsbaseline -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x64/SecurityBaseline/plugin/omsremediate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x64/SecurityBaseline/plugin/omsremediate -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x86/ProcessInvestigator/plugin/pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x86/ProcessInvestigator/plugin/pi -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x86/SecurityBaseline/plugin/omsbaseline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x86/SecurityBaseline/plugin/omsbaseline -------------------------------------------------------------------------------- /Providers/Modules/Plugins_x86/SecurityBaseline/plugin/omsremediate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Modules/Plugins_x86/SecurityBaseline/plugin/omsremediate -------------------------------------------------------------------------------- /Providers/Modules/WLI/conf/baseOS/wlm_ad.conf: -------------------------------------------------------------------------------- 1 | 2 | type wlm_input 3 | tag oms.wlm.ad 4 | interval 14400s 5 | config_path /etc/opt/microsoft/omsagent/conf/omsagent.d/wlm_ad_pe_config.json 6 | source "AutoDiscover::ProcessEnumeration" 7 | data_type "WLM_LINUX_VM_METADATA_BLOB" 8 | ip "INFRASTRUCTUREINSIGHTS" 9 | 10 | -------------------------------------------------------------------------------- /Providers/Modules/WLI/conf/baseOS/wlm_ad_pe_config.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "ServiceName" : "Apache HttpServer", 4 | "PossibleDaemons": ["httpd", "apache2"] 5 | }, 6 | { 7 | "ServiceName" : "MongoDB", 8 | "PossibleDaemons" : ["mongodb", "mongod"] 9 | }, 10 | { 11 | "ServiceName" : "Tomcat", 12 | "PossibleDaemons" : ["tomcat", "tomcat6", "tomcat7", "tomcat8"] 13 | }, 14 | { 15 | "ServiceName" : "MySql", 16 | "PossibleDaemons" : ["mysql"] 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /Providers/Modules/WLI/plugins/common/filter_wlm_oms_omi.rb: -------------------------------------------------------------------------------- 1 | module Fluent 2 | 3 | class WlmOmsOmiFilter < Filter 4 | 5 | Plugin.register_filter('wlm_oms_omi', self) 6 | 7 | config_param :discovery_time_file, :string 8 | 9 | def configure(conf) 10 | super 11 | end 12 | 13 | def start 14 | super 15 | end 16 | 17 | def filter(tag, time, record) 18 | if File.exist? (@discovery_time_file) 19 | return record 20 | else 21 | return nil 22 | end #if 23 | 24 | end #filter 25 | 26 | end #class 27 | 28 | end #module 29 | 30 | -------------------------------------------------------------------------------- /Providers/Modules/nxOMSAuditdPlugin/rules/oms-security-audit-v1.rules: -------------------------------------------------------------------------------- 1 | #Loading / Unloading of LKM's 2 | -w /bin/kmod -p x -k kernelmodules 3 | 4 | # Some file and directory watches 5 | -w /var/log/audit/ -p wxa -k audittampering 6 | -w /etc/audit/ -p wxa -k audittampering 7 | -w /etc/passwd -p wxa -k usergroup 8 | -w /etc/group -p wxa -k usergroup 9 | -w /etc/pam.d/ -p wxa -k pam 10 | -------------------------------------------------------------------------------- /Providers/Modules/nxOMSAuditdPlugin/rules/oms-security-audit-v2.rules: -------------------------------------------------------------------------------- 1 | #Loading / Unloading of LKM's 2 | -w /bin/kmod -p x -k kernelmodules 3 | 4 | # Some file and directory watches 5 | -w /var/log/audit/ -p wxa -k audittampering 6 | -w /etc/audit/ -p wxa -k audittampering 7 | -w /etc/passwd -p wxa -k usergroup 8 | -w /etc/group -p wxa -k usergroup 9 | -w /etc/pam.d/ -p wxa -k pam 10 | 11 | # Monitor certain syscalls. 12 | -a always,exit -F arch=b32 -S execve,execveat 13 | -a always,exit -F arch=b64 -S execve,execveat 14 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy-1.0-1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy-1.0-1.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy-1.0.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy-1.0.deb -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/VERSION: -------------------------------------------------------------------------------- 1 | 1.4 -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_auto.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | auto_registered_worker_conf_path = /home/bhbrahma/PowerShell-DSC-for-Linux/Providers/Scripts/2.6x-2.7x/Scripts/Tests/temp/worker.conf 3 | 4 | [oms-global] 5 | resource_version = 1.4 6 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 7 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 8 | disable_worker_creation = False 9 | 10 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_manual.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | manually_registered_worker_conf_path = /var/opt/microsoft/omsagent/cfd4ef08-4011-428a-8947-0c2f4605980f/state/automationworker/diy/worker.conf 3 | 4 | [oms-global] 5 | resource_version = 1.4 6 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 7 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 8 | disable_worker_creation = False 9 | 10 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_none.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | 3 | [oms-global] 4 | resource_version = 1.4 5 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 6 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 7 | disable_worker_creation = False 8 | 9 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/omsadmin.conf: -------------------------------------------------------------------------------- 1 | WORKSPACE_ID=cfd4ef08-4011-428a-8947-0c2f4605980f 2 | AGENT_GUID=cfd4ef08-4011-428a-8947-0c2f4605980g 3 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/keymgmtring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/keymgmtring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/keyring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/keyring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/nxMySqlDatabase_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Present"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/nxMySqlDatabase_del.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/nxMySqlUser_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestSqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name="jojoma@127.0.0.1"; 8 | Credential = "jojoma"; 9 | ConnectionCredential = "root"; 10 | Ensure = "Present"; 11 | }; 12 | instance of OMI_ConfigurationDocument 13 | { 14 | Version="1.0.0"; 15 | Author="matt"; 16 | GenerationDate="01/07/2015 15:32:47"; 17 | GenerationHost="EGWIN7"; 18 | }; 19 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/nxMySqlUser_del.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 2 | { 3 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 4 | ModuleName = "nx"; 5 | ModuleVersion = "1.0"; 6 | Name="jojoma@127.0.0.1"; 7 | Credential = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/nxMySqlUser_upd.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | /* Name = "jojoma"; */ 8 | Name="jojoma@127.0.0.1"; 9 | Credential = "jojomamas"; 10 | ConnectionCredential = "root"; 11 | Ensure = "Present"; 12 | }; 13 | instance of OMI_ConfigurationDocument 14 | { 15 | Version="1.0.0"; 16 | Author="matt"; 17 | GenerationDate="01/07/2015 15:32:47"; 18 | GenerationHost="EGWIN7"; 19 | }; 20 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/src.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/src.zip -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDir.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurse.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/basedirdirlink1/bobdir1dirlinktobobdir0', '/tmp/FileInventory/basedirdirlink1/bobdir2', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFile.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin', '/tmp/FileInventory/basedirfilelink1.txt'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin', '/tmp/FileInventory/basedirfilelink1.txt'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallSingleFile.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirfile1.txt'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWild.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin', '/tmp/FileInventory/basedirfilelink1.txt', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/basedirfile1.txt', '/tmp/FileInventory/basedirfile2.txt', '/tmp/FileInventory/basedirfile3.bin', '/tmp/FileInventory/basedirfilelink1.txt', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDir.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1', '/tmp/FileInventory/bobdir0', '/tmp/FileInventory/joedir0'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurse.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/basedirdirlink1/bobdir1dirlinktobobdir0', '/tmp/FileInventory/basedirdirlink1/bobdir2', '/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir1', '/tmp/FileInventory/joedir0/joedir1/joedir1dirlinktojoedir0', '/tmp/FileInventory/joedir0/joedir1/joedir2'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFile.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/bobdir0/bobdir0file1.txt', '/tmp/FileInventory/bobdir0/bobdir0file2.txt', '/tmp/FileInventory/bobdir0/bobdir0file3.bin', '/tmp/FileInventory/joedir0/joedir0file1.txt', '/tmp/FileInventory/joedir0/joedir0file2.txt', '/tmp/FileInventory/joedir0/joedir0file3.bin'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileManageLink.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/bobdir0/bobdir0file1.txt', '/tmp/FileInventory/bobdir0/bobdir0file2.txt', '/tmp/FileInventory/bobdir0/bobdir0file3.bin', '/tmp/FileInventory/bobdir0/bobdir0filelink1.txt', '/tmp/FileInventory/joedir0/joedir0file1.txt', '/tmp/FileInventory/joedir0/joedir0file2.txt', '/tmp/FileInventory/joedir0/joedir0file3.bin', '/tmp/FileInventory/joedir0/joedir0filelink1.txt'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWild.pkl: -------------------------------------------------------------------------------- 1 | ['/tmp/FileInventory/bobdir0/bobdir0dirlink1', '/tmp/FileInventory/bobdir0/bobdir0file1.txt', '/tmp/FileInventory/bobdir0/bobdir0file2.txt', '/tmp/FileInventory/bobdir0/bobdir0file3.bin', '/tmp/FileInventory/bobdir0/bobdir1', '/tmp/FileInventory/joedir0/joedir0dirlink1', '/tmp/FileInventory/joedir0/joedir0file1.txt', '/tmp/FileInventory/joedir0/joedir0file2.txt', '/tmp/FileInventory/joedir0/joedir0file3.bin', '/tmp/FileInventory/joedir0/joedir1'] -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/test_mofs/testdsckey.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNATURE----- 2 | Version: GnuPG v1 3 | 4 | iQEcBAABAgAGBQJXfXB0AAoJEGEu6DexdEls/eoH/14SB8Eumgj3ZA0tl9XAtNjU 5 | a8hcoeSEVQfB3n5VIK/C+VOgcSaYIDa9WUiA8HURpsx5Ow1Uz0fRVl/ITgohinGS 6 | YQMjKCBX0glVpq220A71sbxpHGiBD74tCZ3D0ezVSdAcOLFY19m54VI04GdbaYXB 7 | BlYai/l9CSChf3taG/Gzkxt+Y9ypfUixfUYmWQ/fYMtNh4h+foeZhWpNtpNSlnr8 8 | 9MyYYOEIZPGTFtPTDIhFHhDFvWoGKGS1hYgvjwLwnEuphYN/+4/Rs2lJeI31KjWh 9 | AOhYUKmVWzUN1N/yoBoQfHfw5uNJDaHA+F/J7029uN/VQ8vlzocGPpAPvwLgzKg= 10 | =VF4u 11 | -----END PGP SIGNATURE----- 12 | -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/Tests/unittest2-0.5.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.4x-2.5x/Scripts/Tests/unittest2-0.5.1.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/2.4x-2.5x/Scripts/__init__.py: -------------------------------------------------------------------------------- 1 | __all__=["nxEnvironment","nxFile","nxGroup","nxPackage","nxScript","nxService","nxSshAuthorizedKeys","nxUser","nxFileLine","nxArchive", "nxOMSPlugin"] 2 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy-1.0-1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy-1.0-1.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy-1.0.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy-1.0.deb -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/VERSION: -------------------------------------------------------------------------------- 1 | 1.4 -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_auto.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | auto_registered_worker_conf_path = /home/bhbrahma/PowerShell-DSC-for-Linux/Providers/Scripts/2.6x-2.7x/Scripts/Tests/temp/worker.conf 3 | 4 | [oms-global] 5 | resource_version = 1.4 6 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 7 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 8 | disable_worker_creation = False 9 | 10 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_manual.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | manually_registered_worker_conf_path = /var/opt/microsoft/omsagent/cfd4ef08-4011-428a-8947-0c2f4605980f/state/automationworker/diy/worker.conf 3 | 4 | [oms-global] 5 | resource_version = 1.4 6 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 7 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 8 | disable_worker_creation = False 9 | 10 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/oms_conf_none.conf: -------------------------------------------------------------------------------- 1 | [oms-worker-conf] 2 | 3 | [oms-global] 4 | resource_version = 1.4 5 | hybrid_worker_path = /opt/microsoft/omsconfig/modules/nxOMSAutomationWorker/DSCResources/MSFT_nxOMSAutomationWorkerResource/automationworker/worker/hybridworker.py 6 | workspace_id = cfd4ef08-4011-428a-8947-0c2f4605980f 7 | disable_worker_creation = False 8 | 9 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/omsadmin.conf: -------------------------------------------------------------------------------- 1 | WORKSPACE_ID=cfd4ef08-4011-428a-8947-0c2f4605980f 2 | AGENT_GUID=cfd4ef08-4011-428a-8947-0c2f4605980g 3 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/keymgmtring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/keymgmtring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/keyring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/keyring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/nxMySqlDatabase_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Present"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/nxMySqlDatabase_del.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/nxMySqlUser_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestSqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name="jojoma@127.0.0.1"; 8 | Credential = "jojoma"; 9 | ConnectionCredential = "root"; 10 | Ensure = "Present"; 11 | }; 12 | instance of OMI_ConfigurationDocument 13 | { 14 | Version="1.0.0"; 15 | Author="matt"; 16 | GenerationDate="01/07/2015 15:32:47"; 17 | GenerationHost="EGWIN7"; 18 | }; 19 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/nxMySqlUser_del.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 2 | { 3 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 4 | ModuleName = "nx"; 5 | ModuleVersion = "1.0"; 6 | Name="jojoma@127.0.0.1"; 7 | Credential = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/nxMySqlUser_upd.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | /* Name = "jojoma"; */ 8 | Name="jojoma@127.0.0.1"; 9 | Credential = "jojomamas"; 10 | ConnectionCredential = "root"; 11 | Ensure = "Present"; 12 | }; 13 | instance of OMI_ConfigurationDocument 14 | { 15 | Version="1.0.0"; 16 | Author="matt"; 17 | GenerationDate="01/07/2015 15:32:47"; 18 | GenerationHost="EGWIN7"; 19 | }; 20 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/src.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/src.zip -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDir.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDir.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallSingleFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallSingleFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWild.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWild.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDir.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDir.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWild.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWild.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/test_mofs/testdsckey.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNATURE----- 2 | Version: GnuPG v1 3 | 4 | iQEcBAABAgAGBQJXfXB0AAoJEGEu6DexdEls/eoH/14SB8Eumgj3ZA0tl9XAtNjU 5 | a8hcoeSEVQfB3n5VIK/C+VOgcSaYIDa9WUiA8HURpsx5Ow1Uz0fRVl/ITgohinGS 6 | YQMjKCBX0glVpq220A71sbxpHGiBD74tCZ3D0ezVSdAcOLFY19m54VI04GdbaYXB 7 | BlYai/l9CSChf3taG/Gzkxt+Y9ypfUixfUYmWQ/fYMtNh4h+foeZhWpNtpNSlnr8 8 | 9MyYYOEIZPGTFtPTDIhFHhDFvWoGKGS1hYgvjwLwnEuphYN/+4/Rs2lJeI31KjWh 9 | AOhYUKmVWzUN1N/yoBoQfHfw5uNJDaHA+F/J7029uN/VQ8vlzocGPpAPvwLgzKg= 10 | =VF4u 11 | -----END PGP SIGNATURE----- 12 | -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/Tests/unittest2-0.5.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/2.6x-2.7x/Scripts/Tests/unittest2-0.5.1.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/2.6x-2.7x/Scripts/__init__.py: -------------------------------------------------------------------------------- 1 | __all__=["nxEnvironment","nxFile","nxGroup","nxPackage","nxScript","nxService","nxSshAuthorizedKeys","nxUser","nxFileLine","nxArchive", "nxOMSPlugin"] 2 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/dummy-1.0-1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/dummy-1.0-1.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/dummy-1.0.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/dummy-1.0.deb -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/VERSION: -------------------------------------------------------------------------------- 1 | 1.0 -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/dummy_nxOMSAutomationWorker_files/omsadmin.conf: -------------------------------------------------------------------------------- 1 | WORKSPACE_ID=cfd4ef08-4011-428a-8947-0c2f4605980f 2 | AGENT_GUID=cfd4ef08-4011-428a-8947-0c2f4605980g 3 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/nano-2.0.9-7.el6.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/nano-2.3.2-2.1.2.x86_64.rpm -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/nano_2.2.6-1ubuntu1_amd64.deb -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/keymgmtring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/keymgmtring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/keyring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/keyring.gpg -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/nxMySqlDatabase_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Present"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/nxMySqlDatabase_del.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlDatabaseResource as $MSFT_nxMySqlDatabaseResource1ref 3 | { 4 | ResourceID = "[nxMySqlDatabase]myTest"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/nxMySqlUser_add.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestSqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | Name="jojoma@127.0.0.1"; 8 | Credential = "jojoma"; 9 | ConnectionCredential = "root"; 10 | Ensure = "Present"; 11 | }; 12 | instance of OMI_ConfigurationDocument 13 | { 14 | Version="1.0.0"; 15 | Author="matt"; 16 | GenerationDate="01/07/2015 15:32:47"; 17 | GenerationHost="EGWIN7"; 18 | }; 19 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/nxMySqlUser_del.mof: -------------------------------------------------------------------------------- 1 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 2 | { 3 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 4 | ModuleName = "nx"; 5 | ModuleVersion = "1.0"; 6 | Name="jojoma@127.0.0.1"; 7 | Credential = "jojoma"; 8 | ConnectionCredential = "root"; 9 | Ensure = "Absent"; 10 | }; 11 | instance of OMI_ConfigurationDocument 12 | { 13 | Version="1.0.0"; 14 | Author="matt"; 15 | GenerationDate="01/07/2015 15:32:47"; 16 | GenerationHost="EGWIN7"; 17 | }; 18 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/nxMySqlUser_upd.mof: -------------------------------------------------------------------------------- 1 | 2 | instance of MSFT_nxMySqlUserResource as $MSFT_nxMySqlUserResource1ref 3 | { 4 | ResourceID = "[nxMySqlUser]myTestMySqlUser"; 5 | ModuleName = "nx"; 6 | ModuleVersion = "1.0"; 7 | /* Name = "jojoma"; */ 8 | Name="jojoma@127.0.0.1"; 9 | Credential = "jojomamas"; 10 | ConnectionCredential = "root"; 11 | Ensure = "Present"; 12 | }; 13 | instance of OMI_ConfigurationDocument 14 | { 15 | Version="1.0.0"; 16 | Author="matt"; 17 | GenerationDate="01/07/2015 15:32:47"; 18 | GenerationHost="EGWIN7"; 19 | }; 20 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/src.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/src.zip -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDir.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDir.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallDirRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallFileRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallSingleFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallSingleFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWild.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWild.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallTypeWildRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDir.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDir.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildDirRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFile.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFile.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildFileRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWild.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWild.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurse.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseFollowLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/test_mofs/testFileInventoryInventory_MarshallWildTypeWildRecurseManageLink.pkl -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/test_mofs/testdsckey.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNATURE----- 2 | Version: GnuPG v1 3 | 4 | iQEcBAABAgAGBQJXfXB0AAoJEGEu6DexdEls/eoH/14SB8Eumgj3ZA0tl9XAtNjU 5 | a8hcoeSEVQfB3n5VIK/C+VOgcSaYIDa9WUiA8HURpsx5Ow1Uz0fRVl/ITgohinGS 6 | YQMjKCBX0glVpq220A71sbxpHGiBD74tCZ3D0ezVSdAcOLFY19m54VI04GdbaYXB 7 | BlYai/l9CSChf3taG/Gzkxt+Y9ypfUixfUYmWQ/fYMtNh4h+foeZhWpNtpNSlnr8 8 | 9MyYYOEIZPGTFtPTDIhFHhDFvWoGKGS1hYgvjwLwnEuphYN/+4/Rs2lJeI31KjWh 9 | AOhYUKmVWzUN1N/yoBoQfHfw5uNJDaHA+F/J7029uN/VQ8vlzocGPpAPvwLgzKg= 10 | =VF4u 11 | -----END PGP SIGNATURE----- 12 | -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/Tests/unittest2-0.5.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/Scripts/3.x/Scripts/Tests/unittest2-0.5.1.tar.gz -------------------------------------------------------------------------------- /Providers/Scripts/3.x/Scripts/__init__.py: -------------------------------------------------------------------------------- 1 | __all__=["nxEnvironment","nxFile","nxGroup","nxPackage","nxScript","nxService","nxSshAuthorizedKeys","nxUser","nxFileLine","nxArchive","nxOMSPlugin"] 2 | -------------------------------------------------------------------------------- /Providers/Scripts/NPMAgentBinaryCap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | chmod 755 $1 3 | setcap cap_net_raw=ep $1 4 | 5 | 6 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSAptUpdates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | apt-get -q update &> /dev/null 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSRsyslog.post.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$1" = "1" ]; then 3 | if [ ! -d /etc/rsylog.d ]; then 4 | cp --force /etc/opt/omi/conf/omsconfig/rsyslog-oms.conf /etc/rsyslog.conf 5 | fi 6 | else 7 | cp --force /etc/opt/omi/conf/omsconfig/rsyslog-oms.conf /etc/rsyslog.d/95-omsagent.conf 8 | fi 9 | service rsyslog restart 10 | 11 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSServiceStat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | service $1 status 3 | 4 | 5 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSServiceStatAll.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | service --status-all 3 | 4 | 5 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSSysklog.post.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cp --force /etc/opt/omi/conf/omsconfig/sysklog-oms.conf /etc/syslog.conf 3 | service syslog restart 4 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSSyslog-ng.post.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cp --force /etc/opt/omi/conf/omsconfig/syslog-ng-oms.conf /etc/syslog-ng/syslog-ng.conf 3 | ps -A | grep syslog-ng 4 | if [ $? -eq 0 ]; then 5 | service syslog-ng restart 6 | else 7 | service syslog restart 8 | fi 9 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSYumSecurityUpdates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yum -y install yum-plugin-security &> /dev/null 4 | yum -q --security check-update 5 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSYumUpdates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "$1" = "" ]; then 4 | yum check-update 5 | exit ${PIPESTATUS[0]} 6 | else 7 | if [ -e "/usr/bin/repoquery" ]; then 8 | repoquery --queryformat "Name : %{NAME}\nArch : %{ARCH}\nVersion : %{EPOCH}:%{VERSION}\nRelease : %{RELEASE}\nRepo : %{REPO}\nBuildtime : %{BUILDTIME}" $* 9 | else 10 | yum info available $* 11 | fi 12 | fi 13 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSZypperSecurityUpdates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | zypper --non-interactive patch --category security --dry-run 3 | 4 | -------------------------------------------------------------------------------- /Providers/Scripts/OMSZypperUpdates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | zypper -qn refresh &> /dev/null 3 | zypper -q lu 4 | 5 | 6 | -------------------------------------------------------------------------------- /Providers/Scripts/helperlib.py: -------------------------------------------------------------------------------- 1 | CONFIG_BINDIR="" 2 | CONFIG_LIBDIR="" 3 | CONFIG_LOCALSTATEDIR="" 4 | CONFIG_SYSCONFDIR="" 5 | CONFIG_SYSCONFDIR_DSC="" 6 | CONFIG_OAAS_CERTPATH="" 7 | OMI_LIB_SCRIPTS="" 8 | PYTHON_PID_DIR="" 9 | DSC_NAMESPACE="" 10 | DSC_SCRIPT_PATH="" 11 | DSC_MODULES_PATH="" 12 | DSC_HOST_BASE_PATH="" 13 | -------------------------------------------------------------------------------- /Providers/config.mak: -------------------------------------------------------------------------------- 1 | ENABLE_DEBUG=1 2 | OMI_CONFIGURE_QUALS=--enable-debug 3 | -------------------------------------------------------------------------------- /Providers/nxArchive/MSFT_nxArchiveResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxArchiveResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxArchiveResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxArchive/MSFT_nxArchiveResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxArchiveResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxArchive/MSFT_nxArchiveResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxArchiveResource")] 2 | class MSFT_nxArchiveResource : OMI_BaseResource 3 | { 4 | [Key] string SourcePath; 5 | [Key] string DestinationPath; 6 | [write,ValueMap{"ctime", "mtime", "md5"},Values{"ctime", "mtime","md5"}] string Checksum; 7 | [write] boolean Force; 8 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 9 | }; 10 | 11 | -------------------------------------------------------------------------------- /Providers/nxArchive/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxAvailableUpdates/MSFT_nxAvailableUpdatesResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxAvailableUpdatesResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxAvailableUpdatesResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxAvailableUpdates/MSFT_nxAvailableUpdatesResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxAvailableUpdatesResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxAvailableUpdates/MSFT_nxAvailableUpdatesResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxAvailableUpdates")] 2 | class MSFT_nxAvailableUpdatesResource:OMI_BaseResource 3 | { 4 | [Key] string Name; 5 | [read] string BuildDate; 6 | [read] string Repository; 7 | [read] string Version; 8 | [read] string Architecture; 9 | 10 | }; 11 | -------------------------------------------------------------------------------- /Providers/nxAvailableUpdates/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxComputer/MSFT_nxComputerResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxComputerResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxComputerResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxComputer/MSFT_nxComputerResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxComputerResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxComputer/MSFT_nxComputerResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | 3 | [ClassVersion("1.0.0"), FriendlyName("nxComputer")] 4 | class MSFT_nxComputerResource : OMI_BaseResource 5 | { 6 | [key] string Name; 7 | [Write] string DNSDomainName; 8 | [Write] string TimeZoneName; 9 | [Write] string AlternateTimeZoneName; 10 | 11 | }; 12 | 13 | 14 | -------------------------------------------------------------------------------- /Providers/nxComputer/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxDNSServerAddress/MSFT_nxDNSServerAddressResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxDNSServerAddressResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxDNSServerAddressResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxDNSServerAddress/MSFT_nxDNSServerAddressResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxDNSServerAddressResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxDNSServerAddress/MSFT_nxDNSServerAddressResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxDNSServerAddress")] 2 | class MSFT_nxDNSServerAddressResource:OMI_BaseResource 3 | { 4 | [Key] string Address[]; 5 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [Write,ValueMap{"IPv4", "IPv6"},Values{"IPv4", "IPv6"}] string AddressFamily; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /Providers/nxDNSServerAddress/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxEnvironment/MSFT_nxEnvironmentResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxEnvironmentResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxEnvironmentResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxEnvironment/MSFT_nxEnvironmentResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxEnvironmentResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxEnvironment/MSFT_nxEnvironmentResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), Description("The configuration provider for environment variable control."), FriendlyName("nxEnvironment")] 2 | class MSFT_nxEnvironmentResource:OMI_BaseResource 3 | { 4 | [Key] string Name; 5 | [write] string Value; 6 | [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 7 | [Write] boolean Path; 8 | }; 9 | -------------------------------------------------------------------------------- /Providers/nxEnvironment/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxFile/MSFT_nxFileResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxFileResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxFileResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxFile/MSFT_nxFileResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxFileResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxFile/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxFileInventory/MSFT_nxFileInventoryResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxFileInventoryResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxFileInventoryResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxFileInventory/MSFT_nxFileInventoryResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxFileInventoryResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxFileInventory/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxFileLine/MSFT_nxFileLineResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxFileLineResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxFileLineResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxFileLine/MSFT_nxFileLineResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxFileLineResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxFileLine/MSFT_nxFileLineResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxFileLine")] 2 | class MSFT_nxFileLineResource : OMI_BaseResource 3 | { 4 | [key,required] string FilePath; 5 | [write] string DoesNotContainPattern; 6 | [key,write] string ContainsLine; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /Providers/nxFileLine/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxFirewall/MSFT_nxFirewallResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxFirewallResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxFirewallResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxFirewall/MSFT_nxFirewallResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxFirewallResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxFirewall/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxGroup/MSFT_nxGroupResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxGroupResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxGroupResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxGroup/MSFT_nxGroupResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxGroupResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxGroup/MSFT_nxGroupResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxGroup")] 2 | class MSFT_nxGroupResource:OMI_BaseResource 3 | { 4 | [Key] string GroupName; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string Members[]; 7 | [write] string MembersToInclude[]; 8 | [write] string MembersToExclude[]; 9 | [write] string PreferredGroupID; 10 | [read] string GroupID; 11 | 12 | }; 13 | -------------------------------------------------------------------------------- /Providers/nxGroup/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxIPAddress/MSFT_nxIPAddressResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxIPAddressResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxIPAddressResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxIPAddress/MSFT_nxIPAddressResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxIPAddressResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxIPAddress/MSFT_nxIPAddressResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [ClassVersion("1.0.0"), FriendlyName("nxIPAddress")] 5 | class MSFT_nxIPAddressResource : OMI_BaseResource 6 | { 7 | [Key] string IPAddress; 8 | [Key] string InterfaceName; 9 | [Write, ValueMap{"Automatic", "Static"},Values{"Automatic", "Static"}] string BootProtocol; 10 | [Write] string DefaultGateway; 11 | [Write, ValueMap{"Present", "Absent"}, Values{"Present", "Absent"}] string Ensure; 12 | [Write] uint32 PrefixLength; 13 | [Write, ValueMap{"IPv4", "IPv6"},Values{"IPv4", "IPv6"}] string AddressFamily; 14 | 15 | }; 16 | -------------------------------------------------------------------------------- /Providers/nxIPAddress/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxLog/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxMySqlDatabase/MSFT_nxMySqlDatabaseResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxMySqlDatabseResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxMySqlDatabseResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxMySqlDatabase/MSFT_nxMySqlDatabaseResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxMySqlDatabaseResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxMySqlDatabase/MSFT_nxMySqlDatabaseResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxMySqlDatabase")] 2 | class MSFT_nxMySqlDatabaseResource : OMI_BaseResource 3 | { 4 | [Key, Description("Name of the database.")] String Name; 5 | [Write, Description("Should the database be present or absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; 6 | [Write, Description("The root credential that is used to install MySql server.")] String ConnectionCredential; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxMySqlDatabase/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxMySqlGrant/MSFT_nxMySqlGrantResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxMySqlGrantResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxMySqlGrantResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxMySqlGrant/MSFT_nxMySqlGrantResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxMySqlGrantResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxMySqlGrant/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxMySqlUser/MSFT_nxMySqlUserResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxMySqlUserResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxMySqlUserResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxMySqlUser/MSFT_nxMySqlUserResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxMySqlUserResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxMySqlUser/MSFT_nxMySqlUserResource.schema.mof: -------------------------------------------------------------------------------- 1 | 2 | [ClassVersion("1.0.0"),FriendlyName("nxMySqlUser")] 3 | class MSFT_nxMySqlUserResource : OMI_BaseResource 4 | { 5 | [Key, Description("Name of MySQL user to create or remove.")] String Name; 6 | [Write, Description("Credential for MySql user.")] String Credential; 7 | [Write, Description("MySql connection credential used to create a user.")] String ConnectionCredential; 8 | [Write, Description("Ensure mysql user is present or absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; 9 | 10 | }; 11 | -------------------------------------------------------------------------------- /Providers/nxMySqlUser/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxNop/MSFT_nxNopResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxNopResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxNopResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxNop/MSFT_nxNopResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxNopResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxNop/MSFT_nxNopResource.schema.mof: -------------------------------------------------------------------------------- 1 | #pragma include ("MSFT_Qualifiers.mof") 2 | #pragma include ("OMI_BaseResource.mof") 3 | 4 | [ClassVersion("1.0.0"), Description("The test configuration provider ."), FriendlyName("nxNop")] 5 | class MSFT_nxNopResource : OMI_BaseResource 6 | { 7 | [Key] string Name; 8 | 9 | [Write] string Value; 10 | 11 | [Write, ValueMap{"present", "absent"}] 12 | string Ensure; 13 | }; -------------------------------------------------------------------------------- /Providers/nxNop/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxNop/strings.rc: -------------------------------------------------------------------------------- 1 | /* @migen@ */ 2 | STRINGTABLE 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /Providers/nxOMSAgentNPMConfig/MSFT_nxOMSAgentNPMConfigResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSAgentNPMConfigResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSAgentNPMConfigResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSAgentNPMConfig/MSFT_nxOMSAgentNPMConfigResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxOMSAgentNPMConfigResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/oms"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxOMSAgentNPMConfig/MSFT_nxOMSAgentNPMConfigResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSAgentNPMConfigResource : OMI_BaseResource 3 | { 4 | [key] string ConfigType; 5 | [write] string ConfigID; 6 | [write] string Contents; 7 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 8 | [write] string ContentChecksum; 9 | }; 10 | -------------------------------------------------------------------------------- /Providers/nxOMSAgentNPMConfig/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSAuditdPlugin/MSFT_nxOMSAuditdPluginResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSAuditdPluginResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSAuditdPluginResource:OMI_BaseResource -------------------------------------------------------------------------------- /Providers/nxOMSAuditdPlugin/MSFT_nxOMSAuditdPluginResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSAuditdPluginResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSAuditdPlugin/MSFT_nxOMSAuditdPluginResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSAuditdPluginResource : OMI_BaseResource 3 | { 4 | [key] string WorkspaceId; 5 | [write,ValueMap{"present", "absent"},Values{"Present", "Absent"}] string Ensure; 6 | }; 7 | -------------------------------------------------------------------------------- /Providers/nxOMSAuditdPlugin/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/MSFT_nxOMSAutomationWorkerResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSAutomationWorkerResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSAutomationWorkerResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/MSFT_nxOMSAutomationWorkerResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSAutomationWorkerResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/MSFT_nxOMSAutomationWorkerResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.5.0")] 2 | class MSFT_nxOMSAutomationWorkerResource : OMI_BaseResource 3 | { 4 | [Key] string ResourceSettings; 5 | }; 6 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/3.x/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # ==================================== 3 | # Copyright (c) Microsoft Corporation. All rights reserved. 4 | # ==================================== 5 | 6 | # this init file exists for unit tests for the unlock_node method 7 | from scripts import require_runbook_signature 8 | from scripts.require_runbook_signature import set_signature_enforcement_policy 9 | 10 | 11 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/3.x/worker/automationconstants/__init__.py: -------------------------------------------------------------------------------- 1 | from jobstatus import * 2 | from pendingactions import * 3 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/3.x/worker/automationconstants/pendingactions.py: -------------------------------------------------------------------------------- 1 | NONE_ENUM_INDEX = 0 2 | ACTIVATE_ENUM_INDEX = 1 3 | ABORT_ENUM_INDEX = 2 4 | SUSPEND_ENUM_INDEX = 3 5 | RESUME_ENUM_INDEX = 4 6 | STOP_ENUM_INDEX = 5 7 | TERMINATE_ENUM_INDEX = 6 8 | REMOVE_ENUM_INDEX = 7 9 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | # 3 | # Copyright (C) Microsoft Corporation, All rights reserved. 4 | 5 | 6 | # this init file exists for unit tests for the unlock_node method 7 | from scripts import require_runbook_signature 8 | from scripts.require_runbook_signature import set_signature_enforcement_policy 9 | 10 | 11 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/worker/automationconstants/__init__.py: -------------------------------------------------------------------------------- 1 | from jobstatus import * 2 | from pendingactions import * 3 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/worker/automationconstants/pendingactions.py: -------------------------------------------------------------------------------- 1 | NONE_ENUM_INDEX = 0 2 | ACTIVATE_ENUM_INDEX = 1 3 | ABORT_ENUM_INDEX = 2 4 | SUSPEND_ENUM_INDEX = 3 5 | RESUME_ENUM_INDEX = 4 6 | STOP_ENUM_INDEX = 5 7 | TERMINATE_ENUM_INDEX = 6 8 | REMOVE_ENUM_INDEX = 7 9 | -------------------------------------------------------------------------------- /Providers/nxOMSAutomationWorker/automationworker/worker/automationrunbooktracer.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | # 3 | # Copyright (C) Microsoft Corporation, All rights reserved. 4 | 5 | import os 6 | 7 | import configuration 8 | import tracer 9 | 10 | configuration.set_config({configuration.COMPONENT: "runbook"}) 11 | 12 | 13 | def get_activity_id(): 14 | try: 15 | return os.environ["AUTOMATION_ACTIVITY_ID"] 16 | except KeyError: 17 | return None 18 | 19 | 20 | def log(trace, activity_id=get_activity_id()): 21 | tracer.log_runbook_runtime_trace(trace, activity_id=activity_id) 22 | -------------------------------------------------------------------------------- /Providers/nxOMSContainers/MSFT_nxOMSContainersResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSContainersResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSContainersResource:OMI_BaseResource -------------------------------------------------------------------------------- /Providers/nxOMSContainers/MSFT_nxOMSContainersResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSContainersResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSContainers/MSFT_nxOMSContainersResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSContainersResource : OMI_BaseResource 3 | { 4 | [key] string WorkspaceID; 5 | [key] string Ensure; 6 | }; 7 | -------------------------------------------------------------------------------- /Providers/nxOMSContainers/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSContainers/containers/lib/libcontainer.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/nxOMSContainers/containers/lib/libcontainer.so -------------------------------------------------------------------------------- /Providers/nxOMSContainers/containers/reg/container.reg: -------------------------------------------------------------------------------- 1 | # omireg libcontainer.so 2 | LIBRARY=container 3 | HOSTING=root 4 | CLASS=Container_ContainerInventory:CIM_ManagedElement 5 | CLASS=Container_ContainerStatistics:CIM_StatisticalData:CIM_ManagedElement 6 | CLASS=Container_DaemonEvent:CIM_ManagedElement 7 | CLASS=Container_ImageInventory:CIM_ManagedElement 8 | CLASS=Container_ContainerLog:CIM_ManagedElement 9 | CLASS=Container_HostInventory:CIM_ManagedElement 10 | CLASS=Container_Process:CIM_ManagedElement 11 | -------------------------------------------------------------------------------- /Providers/nxOMSContainers/containers/yaml/KubeEventQueryState.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Providers/nxOMSContainers/containers/yaml/KubeEventQueryState.yaml -------------------------------------------------------------------------------- /Providers/nxOMSCustomLog/MSFT_nxOMSCustomLogResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSCustomLogResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSCustomLogResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSCustomLog/MSFT_nxOMSCustomLogResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxOMSCustomLogResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/oms"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxOMSCustomLog/MSFT_nxOMSCustomLogResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSCustomLogObject 3 | { 4 | [key] string LogName; 5 | [write] string FilePath[]; 6 | }; 7 | 8 | [ClassVersion("1.0.0")] 9 | class MSFT_nxOMSCustomLogResource : OMI_BaseResource 10 | { 11 | [key] string Name; 12 | [write] boolean EnableCustomLogConfiguration; 13 | [write, EmbeddedInstance("MSFT_nxOMSCustomLogObject") : ToSubclass ] string CustomLogObjects[]; 14 | }; 15 | -------------------------------------------------------------------------------- /Providers/nxOMSCustomLog/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSGenerateInventoryMof/MSFT_nxOMSGenerateInventoryMofResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSGenerateInventoryMofResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSGenerateInventoryMofResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSGenerateInventoryMof/MSFT_nxOMSGenerateInventoryMofResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSGenerateInventoryMofResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /Providers/nxOMSGenerateInventoryMof/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSKeyMgmt/MSFT_nxOMSKeyMgmtResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSKeyMgmtResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSKeyMgmtResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSKeyMgmt/MSFT_nxOMSKeyMgmtResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxOMSKeyMgmtResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxOMSKeyMgmt/MSFT_nxOMSKeyMgmtResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), Description("The configuration provider for module signature keys."), FriendlyName("nxOMSKeyMgmt")] 2 | class MSFT_nxOMSKeyMgmtResource:OMI_BaseResource 3 | { 4 | [Key] string KeyContents; 5 | [Write,required] string KeySignature; 6 | [Write,ValueMap{"present", "absent"},Values{"present", "absent"}] string Ensure; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSKeyMgmt/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSPerfCounter/MSFT_nxOMSPerfCounterResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSPerfCounterResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSPerfCounterResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSPerfCounter/MSFT_nxOMSPerfCounterResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSPerfCounterResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSPerfCounter/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSPlugin/MSFT_nxOMSPluginResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSPluginResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSPluginResource:OMI_BaseResource -------------------------------------------------------------------------------- /Providers/nxOMSPlugin/MSFT_nxOMSPluginResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSPluginResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSPlugin/MSFT_nxOMSPluginResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSPlugin 3 | { 4 | [key] string PluginName; 5 | [write,ValueMap{"present", "absent"},Values{"Present", "Absent"}] string Ensure; 6 | }; 7 | 8 | [ClassVersion("1.0.0")] 9 | class MSFT_nxOMSPluginResource : OMI_BaseResource 10 | { 11 | [key] string Name; 12 | [key] string WorkspaceID; 13 | [write, EmbeddedInstance("MSFT_nxOMSPlugin") : ToSubclass] string Plugins[]; 14 | }; 15 | -------------------------------------------------------------------------------- /Providers/nxOMSPlugin/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSSudoCustomLog/MSFT_nxOMSSudoCustomLogResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSSudoCustomLogResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSSudoCustomLogResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSSudoCustomLog/MSFT_nxOMSSudoCustomLogResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxOMSSudoCustomLogResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/oms"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxOMSSudoCustomLog/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSSyslog/MSFT_nxOMSSyslogResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSSyslogResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSSyslogResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSSyslog/MSFT_nxOMSSyslogResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxOMSSyslogResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/oms"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxOMSSyslog/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxOMSWLI/MSFT_nxOMSWLIResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxOMSWLIResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxOMSWLIResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxOMSWLI/MSFT_nxOMSWLIResource.registration.mof: -------------------------------------------------------------------------------- 1 | Instance of MSFT_CimConfigurationProviderRegistration 2 | { 3 | className = "MSFT_nxOMSWLIResource"; 4 | DSCEngineCompatVersion = "1.0.0"; 5 | DSCModuleVersion = "1.0.0"; 6 | Namespace = "root/oms"; 7 | }; 8 | -------------------------------------------------------------------------------- /Providers/nxOMSWLI/MSFT_nxOMSWLIResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0")] 2 | class MSFT_nxOMSWLIResource : OMI_BaseResource 3 | { 4 | [key] string WorkspaceId; 5 | [write] string Configuration; 6 | }; 7 | -------------------------------------------------------------------------------- /Providers/nxOMSWLI/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxPackage/MSFT_nxPackageResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxPackageResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxPackageResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxPackage/MSFT_nxPackageResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxPackageResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxPackage/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxScript/MSFT_nxScriptResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxScriptResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxScriptResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxScript/MSFT_nxScriptResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxScriptResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxScript/MSFT_nxScriptResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"),FriendlyName("nxScript")] 2 | class MSFT_nxScriptResource : OMI_BaseResource 3 | { 4 | [Key] string GetScript; 5 | [Key] string SetScript; 6 | [Key] string TestScript; 7 | [write] string User; 8 | [write] string Group; 9 | [Read] string Result; 10 | }; 11 | -------------------------------------------------------------------------------- /Providers/nxScript/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxService/MSFT_nxServiceResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxServiceResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxServiceResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxService/MSFT_nxServiceResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxServiceResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxService/MSFT_nxServiceResource.schema.mof: -------------------------------------------------------------------------------- 1 | /* I am really new */ 2 | [ClassVersion("1.0.0"), FriendlyName("nxService")] 3 | class MSFT_nxServiceResource : OMI_BaseResource 4 | { 5 | [key] string Name; 6 | [write,required,ValueMap{"init", "upstart", "systemd", "*"},Values{"init","upstart","systemd", "*"}] string Controller; 7 | [write] boolean Enabled; 8 | [write,ValueMap{"Running", "Stopped"},Values{"Running", "Stopped"}] string State; 9 | [read] string Path; 10 | [read] string Description; 11 | [read] string Runlevels; 12 | }; 13 | -------------------------------------------------------------------------------- /Providers/nxService/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxSshAuthorizedKeys/MSFT_nxSshAuthorizedKeysResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxSshAuthorizedKeysResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxSshAuthorizedKeysResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxSshAuthorizedKeys/MSFT_nxSshAuthorizedKeysResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxSshAuthorizedKeysResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxSshAuthorizedKeys/MSFT_nxSshAuthorizedKeysResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), Description("The configuration provider for ssh authorized key control."), FriendlyName("nxSshAuthorizedKeys")] 2 | class MSFT_nxSshAuthorizedKeysResource:OMI_BaseResource 3 | { 4 | [Key] string KeyComment; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string UserName; 7 | [write] string Key; 8 | }; 9 | -------------------------------------------------------------------------------- /Providers/nxSshAuthorizedKeys/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Providers/nxUser/MSFT_nxUserResource.reg: -------------------------------------------------------------------------------- 1 | LIBRARY=MSFT_nxUserResource 2 | HOSTING=@requestor@ 3 | CLASS=MSFT_nxUserResource:OMI_BaseResource 4 | -------------------------------------------------------------------------------- /Providers/nxUser/MSFT_nxUserResource.registration.mof: -------------------------------------------------------------------------------- 1 | 2 | Instance of MSFT_CimConfigurationProviderRegistration 3 | { 4 | className = "MSFT_nxUserResource"; 5 | DSCEngineCompatVersion = "1.0.0"; 6 | DSCModuleVersion = "1.0.0"; 7 | Namespace = "root/Microsoft/DesiredStateConfiguration"; 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /Providers/nxUser/MSFT_nxUserResource.schema.mof: -------------------------------------------------------------------------------- 1 | [ClassVersion("1.0.0"), FriendlyName("nxUser")] 2 | class MSFT_nxUserResource : OMI_BaseResource 3 | { 4 | [Key] string UserName; 5 | [write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure; 6 | [write] string FullName; 7 | [write] string Description; 8 | [write] string Password; 9 | [write] boolean Disabled; 10 | [write] boolean PasswordChangeRequired; 11 | [write] string HomeDirectory; 12 | [write] string GroupID; 13 | [read] string UserID; 14 | 15 | }; 16 | -------------------------------------------------------------------------------- /Providers/nxUser/Provider.DEF: -------------------------------------------------------------------------------- 1 | ; 2 | ; @migen@ */ 3 | ; Please change '%ProviderName%' to your provider binary name 4 | LIBRARY %ProviderName%.DLL 5 | 6 | EXPORTS 7 | DllMain = DllMain PRIVATE 8 | GetProviderClassID = GetProviderClassID PRIVATE 9 | DllGetClassObject = DllGetClassObject PRIVATE 10 | DllCanUnloadNow = DllCanUnloadNow PRIVATE 11 | DllRegisterServer = DllRegisterServer PRIVATE 12 | DllUnregisterServer = DllUnregisterServer PRIVATE 13 | -------------------------------------------------------------------------------- /Tests/Configurations/nxNopTest1.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Configurations/nxNopTest1.mof -------------------------------------------------------------------------------- /Tests/Configurations/nxNopTest1_1.0.1.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Configurations/nxNopTest1_1.0.1.mof -------------------------------------------------------------------------------- /Tests/Configurations/nxNopTest1_1.0.7.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Configurations/nxNopTest1_1.0.7.mof -------------------------------------------------------------------------------- /Tests/Configurations/nxNopTest2.mof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Configurations/nxNopTest2.mof -------------------------------------------------------------------------------- /Tests/DSCLinuxTestConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "LinuxClient": { 3 | "Name": "Linux-Dsc-ClientName", 4 | "UserName": "root", 5 | "Password": "rootPassword" 6 | }, 7 | 8 | "PullServer1": { 9 | "Name": "Dsc-pullServer", 10 | "ServerURL": "http://Dsc-pullServer:8080/PSDSCPullServer.svc", 11 | "RegistrationKey": "7f466f8e-027e-44c2-9a7b-897c08b355f1", 12 | "ConfigurationPath": "\\\\Dsc-pullServer\\c$\\Program Files\\WindowsPowerShell\\DscService\\Configuration" 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Tests/Dsclinux.Tests.Helper.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Dsclinux.Tests.Helper.psm1 -------------------------------------------------------------------------------- /Tests/Packages/nxNop_1.0.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Packages/nxNop_1.0.1.zip -------------------------------------------------------------------------------- /Tests/Packages/nxNop_1.0.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Packages/nxNop_1.0.7.zip -------------------------------------------------------------------------------- /Tests/Packages/nxNop_1.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/Tests/Packages/nxNop_1.0.zip -------------------------------------------------------------------------------- /build/Makefile.version: -------------------------------------------------------------------------------- 1 | # -*- mode: Makefile; -*- 2 | #-------------------------------------------------------------------------------- 3 | # Copyright (c) Microsoft Corporation. All rights reserved. 4 | #-------------------------------------------------------------------------------- 5 | # 2015-10-06 6 | #-------------------------------------------------------------------------------- 7 | 8 | DSC_BUILDVERSION_MAJOR=1 9 | DSC_BUILDVERSION_MINOR=1 10 | DSC_BUILDVERSION_PATCH=1 11 | DSC_BUILDVERSION_BUILDNR=1 12 | DSC_BUILDVERSION_DATE=20151208 13 | DSC_BUILDVERSION_STATUS=Developer_Build 14 | -------------------------------------------------------------------------------- /ext/curl/x64/include/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = curl 2 | 3 | EXTRA_DIST = README 4 | 5 | AUTOMAKE_OPTIONS = foreign no-dependencies 6 | -------------------------------------------------------------------------------- /ext/curl/x64/include/curl/stamp-h3: -------------------------------------------------------------------------------- 1 | timestamp for include/curl/curlbuild.h 2 | -------------------------------------------------------------------------------- /ext/curl/x64/include/curl/types.h: -------------------------------------------------------------------------------- 1 | /* not used */ 2 | -------------------------------------------------------------------------------- /ext/curl/x64/lib/libcurl.so.4.2.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/ext/curl/x64/lib/libcurl.so.4.2.0 -------------------------------------------------------------------------------- /ext/curl/x86/include/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = curl 2 | 3 | EXTRA_DIST = README 4 | 5 | AUTOMAKE_OPTIONS = foreign no-dependencies 6 | -------------------------------------------------------------------------------- /ext/curl/x86/include/curl/stamp-h3: -------------------------------------------------------------------------------- 1 | timestamp for include/curl/curlbuild.h 2 | -------------------------------------------------------------------------------- /ext/curl/x86/include/curl/types.h: -------------------------------------------------------------------------------- 1 | /* not used */ 2 | -------------------------------------------------------------------------------- /ext/curl/x86/lib/libcurl.so.4.2.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/PowerShell-DSC-for-Linux/14d31e4f6c5266036c935bd7634e0e4b039a43ed/ext/curl/x86/lib/libcurl.so.4.2.0 -------------------------------------------------------------------------------- /ext/test/extension.cpp: -------------------------------------------------------------------------------- 1 | #include "extension.hpp" 2 | #include 3 | 4 | 5 | using namespace boost::python; 6 | 7 | 8 | // this is how overloading works 9 | void (Foo::*setMsg_1)(std::string) = &Foo::setMsg; 10 | void (Foo::*setMsg_2)() = &Foo::setMsg; 11 | 12 | 13 | BOOST_PYTHON_MODULE (extension) 14 | { 15 | class_ ("Foo", init()) 16 | .def ("getMsg", &Foo::getMsg) 17 | .def ("setMsg", setMsg_1) // overloading - see above 18 | .def ("setMsg", setMsg_2) // overloading - see above 19 | ; 20 | } 21 | -------------------------------------------------------------------------------- /ext/test/extension.hpp: -------------------------------------------------------------------------------- 1 | #ifndef INCLUDED_EXTENSION_HPP 2 | #define INCLUDED_EXTENSION_HPP 3 | 4 | 5 | #include 6 | #include 7 | 8 | 9 | class Foo 10 | { 11 | public: 12 | /*ctor*/ Foo (std::string msg) : m_Msg (msg) {} 13 | 14 | void setMsg (std::string msg) { m_Msg = msg; } 15 | void setMsg () { m_Msg.clear (); } 16 | 17 | std::string getMsg () { return m_Msg; } 18 | 19 | private: 20 | std::string m_Msg; 21 | }; 22 | 23 | 24 | #endif // INCLUDED_EXTENSION_HPP 25 | -------------------------------------------------------------------------------- /ext/test/hello.py: -------------------------------------------------------------------------------- 1 | """hello - some simple tests""" 2 | #import sys 3 | 4 | pi = 3.14159 5 | 6 | def inverse(a): 7 | return 1/a 8 | 9 | def area(r): 10 | """area(r): return the area of a circle with radius r.""" 11 | global pi 12 | inverse (r) 13 | return (r, pi * r**2) 14 | 15 | 16 | def __main__ (): 17 | return area (0) 18 | 19 | __main__ 20 | --------------------------------------------------------------------------------