When we install the DSC plugin, it
- add techniques in /var/rudder/configuration-repository/techniques
- schedule a reload of the technique tree at next webapp restart
- restart the webapp
- the webapp reloads the techniques, create the ActiveTechnique
- the plugin adds the ative techniques
[2018-06-11 11:47:48] INFO bootchecks - Flag file '/opt/rudder/etc/force_technique_reload' found, reload Technique library now
[2018-06-11 11:47:49] INFO com.normation.cfclerk.services.impl.TechniqueRepositoryImpl - Reloading technique library, found modified technique(s): ['windowsSoftware': updated (1.0: VersionAdded)], ['dsc-common': updated (1.0: VersionAdded)], ['registryManagement': updated (3.0: VersionAdded)]
[2018-06-11 11:47:49] INFO com.normation.rudder.services.policies.TechniqueAcceptationUpdater - Automatically adding technique 'windowsSoftware' in category 'Application management (applications)' of active techniques library
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - Archived technique library template: /var/rudder/configuration-repository/directives/applications/windowsSoftware/activeTechniqueSettings.xml
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.UpdatePiOnActiveTechniqueEvent - Executing archivage of PIs for UPT 'ActiveTechnique(ActiveTechniqueId(7515cd7c-440c-49cd-9fa3-5371361ad6f7),windowsSoftware,Map(1.0 -> 2018-06-11T11:47:49.566+02:00),List(),true,false)'
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - Add file directives/applications/windowsSoftware/activeTechniqueSettings.xml from configuration repository
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - file directives/applications/windowsSoftware/activeTechniqueSettings.xml was added in commit d1fb10a2293ee22248df1b36e65ee60cb4e39a2b
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueCategoryArchiverImpl - Archived technique library category: /var/rudder/configuration-repository/directives/70424589-d52e-4b60-8e3f-400a22927518/category.xml
[2018-06-11 11:47:49] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueCategoryArchiverImpl - Add file directives/70424589-d52e-4b60-8e3f-400a22927518/category.xml from configuration repository
[2018-06-11 11:47:50] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueCategoryArchiverImpl - file directives/70424589-d52e-4b60-8e3f-400a22927518/category.xml was added in commit 611228307dd6c04d1bdeb7dad84c4dbab4a89b29
[2018-06-11 11:47:50] INFO com.normation.rudder.services.policies.TechniqueAcceptationUpdater - Automatically adding technique 'dsc-common' in category 'System Techniques (70424589-d52e-4b60-8e3f-400a22927518)' of active techniques library
[2018-06-11 11:47:50] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - Archived technique library template: /var/rudder/configuration-repository/directives/70424589-d52e-4b60-8e3f-400a22927518/dsc-common/activeTechniqueSettings.xml
[2018-06-11 11:47:50] DEBUG com.normation.rudder.repository.xml.UpdatePiOnActiveTechniqueEvent - Executing archivage of PIs for UPT 'ActiveTechnique(ActiveTechniqueId(48c1b313-857a-4959-92c5-81e08bc930a5),dsc-common,Map(1.0 -> 2018-06-11T11:47:50.075+02:00),List(),true,false)'
[2018-06-11 11:47:50] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - Add file directives/70424589-d52e-4b60-8e3f-400a22927518/dsc-common/activeTechniqueSettings.xml from configuration repository
[2018-06-11 11:47:50] DEBUG com.normation.rudder.repository.xml.GitActiveTechniqueArchiverImpl - file directives/70424589-d52e-4b60-8e3f-400a22927518/dsc-common/activeTechniqueSettings.xml was added in commit 8a2a664207388bbe3dd53648eccacda9b46061f0
then
[2018-06-11 11:47:54] INFO application - Initializing plugin 'rudder-plugin-dsc' [com.normation.plugins.dsc.DscPluginDef]
[2018-06-11 11:47:54] INFO application.plugin - loading 'rudder-plugin-dsc:4.2-1.8.0' plugin
[2018-06-11 11:47:54] INFO bootchecks - Updating system configuration for DSC based agent stored in entry 'nodeGroupId=all-nodes-with-dsc-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration': LDIFAddChangeRecord(dn='nodeGroupId=all-nodes-with-dsc-agent,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration', attrs={Attribute(name=objectClass, values={'nodeGroup', 'top'}), Attribute(name=cn, values={'All nodes with a Rudder Windows DSC agent'}), Attribute(name=isDynamic, values={'TRUE'}), Attribute(name=description, values={'All nodes with a Rudder Windows DSC agent'}), Attribute(name=isEnabled, values={'TRUE'}), Attribute(name=isSystem, values={'TRUE'}), Attribute(name=jsonNodeGroupQuery, values={'{"select":"nodeAndPolicyServer","composition":"And","where":[{"objectType":"node","attribute":"agentName","comparator":"eq","value":"dsc"}]}'}), Attribute(name=nodeGroupId, values={'all-nodes-with-dsc-agent'})})
[2018-06-11 11:47:54] INFO bootchecks - Updating system configuration for DSC based agent stored in entry 'activeTechniqueId=dsc-common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration': LDIFAddChangeRecord(dn='activeTechniqueId=dsc-common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration', attrs={Attribute(name=objectClass, values={'activeTechnique', 'top'}), Attribute(name=acceptationTimestamp, values={'{"1.0":"20170101010100.000Z"}'}), Attribute(name=techniqueId, values={'dsc-common'}), Attribute(name=isEnabled, values={'TRUE'}), Attribute(name=isSystem, values={'TRUE'}), Attribute(name=activeTechniqueId, values={'dsc-common'})})
[2018-06-11 11:47:54] INFO bootchecks - Updating system configuration for DSC based agent stored in entry 'directiveId=dsc-common-all,activeTechniqueId=dsc-common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration': LDIFAddChangeRecord(dn='directiveId=dsc-common-all,activeTechniqueId=dsc-common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration', attrs={Attribute(name=objectClass, values={'directive', 'top'}), Attribute(name=techniqueVersion, values={'1.0'}), Attribute(name=cn, values={'DSC Based agent configuration'}), Attribute(name=description, values={'System configuration for base agent'}), Attribute(name=directivePriority, values={'0'}), Attribute(name=isEnabled, values={'TRUE'}), Attribute(name=isSystem, values={'TRUE'}), Attribute(name=serializedTags, values={'[]'}), Attribute(name=directiveId, values={'dsc-common-all'})})
[2018-06-11 11:47:54] INFO bootchecks - Updating system configuration for DSC based agent stored in entry 'ruleId=dsc-agent-all,ou=Rules,ou=Rudder,cn=rudder-configuration': LDIFAddChangeRecord(dn='ruleId=dsc-agent-all,ou=Rules,ou=Rudder,cn=rudder-configuration', attrs={Attribute(name=objectClass, values={'rule', 'top'}), Attribute(name=serial, values={'0'}), Attribute(name=cn, values={'Rudder system policy: base configuration for DSC based agent'}), Attribute(name=description, values={'Rudder system policy: base configuration for DSC based agent'}), Attribute(name=longDescription, values={'This rule manage based configuration for DSC agent'}), Attribute(name=ruleTarget, values={'group:all-nodes-with-dsc-agent'}), Attribute(name=directiveId, values={'dsc-common-all'}), Attribute(name=isEnabled, values={'TRUE'}), Attribute(name=isSystem, values={'TRUE'}), Attribute(name=ruleId, values={'dsc-agent-all'})})
[2018-06-11 11:47:54] INFO application - Application Rudder started