Changes between Version 22 and Version 23 of Obsolete/Development/UsefulLinks
- Timestamp:
- Feb 24, 2011, 9:35:23 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Obsolete/Development/UsefulLinks
v22 v23 57 57 See [wiki:Web/Contacts Contacts] page. 58 58 59 == Co mponents ==59 == Configuration Modules == 60 60 61 Before developing a new co mponent, please search the existing code repository to ensure that there is not already something similar. Also send an email to the Quattor discussion list to see if anyone else has a private componentor is interested in collaborating with you. A [http://quattor.sourceforge.net/components.html list of components along with their man pages] is available on the web.61 Before developing a new configuration module, please search the existing code repository to ensure that there is not already something similar. Also send an email to the Quattor discussion list to see if anyone else has a private configuration module or is interested in collaborating with you. A [http://quattor.sourceforge.net/components.html list of components along with their man pages] is available on the web. 62 62 63 To create a working , skeleton Quattor configuration component, use maven to create one from the standard "archetype". Use the following command:63 To create a working skeleton Quattor configuration module, use maven to create one from the standard "archetype". Use the following command: 64 64 {{{ 65 65 mvn archetype:generate \ 66 -DarchetypeGroupId=org.quattor.maven \ 67 -DarchetypeArtifactId=component \ 68 -DarchetypeVersion=1.0.0 \ 69 -DarchetypeRepository=http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/ \ 70 -DgroupId=org.quattor.config.component \ 71 -DartifactId=example 66 -DarchetypeArtifactId=cfg-module \ 67 -DarchetypeGroupId=org.quattor.maven \ 68 -DarchetypeVersion=1.3 \ 69 -DarchetypeRepository=http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/ 72 70 }}} 73 71 Use the standard groupId for the component if this will become part of the Quattor repository. Once generated, you can ensure that the component compiles with `mvn package`. You should then modify the perl module and pan language files as appropriate for the component that you are building. 72 73 If you are going to upload configuration modules to the Quattor repository, then the following needs to be added to your maven ~/.m2/settings.xml file: 74 {{{ 75 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 76 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 77 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 78 http://maven.apache.org/xsd/settings-1.0.0.xsd"> 79 <localRepository/> 80 <interactiveMode/> 81 <usePluginRegistry/> 82 <offline/> 83 <pluginGroups/> 84 <servers/> 85 <mirrors/> 86 <proxies/> 87 <profiles> 88 <profile> 89 <id>quattor-plugins</id> 90 <pluginRepositories> 91 <pluginRepository> 92 <id>quattor-releases</id> 93 <url>http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/</url> 94 </pluginRepository> 95 </pluginRepositories> 96 </profile> 97 </profiles> 98 <activeProfiles/> 99 </settings> 100 }}} 101 74 102 75 103 == Pan language ==