| 12 | | The Quattor server needs to run a Web server to serve profiles, kickstart configuration files and execute the CGI script at end of installation to change PXE boot to local disk. In addition, it is recommended (but not necessary) to use this Web server for serving RPMs. |
| | 12 | The Quattor server needs to run a Web server to serve profiles, kickstart configuration files and execute |
| | 13 | }}} |
| | 14 | |
| | 15 | The {{{post-commit}}} file have to be edited. In particular, check for: |
| | 16 | {{{QUATTORSRV}}}, {{{DEPLOYSCRIPT}}}, {{{MAILER/SVNLOOK/SSH}}} and {{{NOTIFY}}} variables (everything should be self-explaining). ''Note to Micthe CGI script at end of installation to change PXE boot to local disk. In addition, it is recommended (but not necessary) to use this Web server for serving RPMs. |
| | 61 | |
| | 62 | === Repository configuration === |
| | 63 | |
| | 64 | For Quattor, you need to create a repository with the standard structure inside it (or inside a branch) : |
| | 65 | * `trunk` : where you make the changes to your running configuration |
| | 66 | * `tags` : used by SCDB administration tool to do deployment |
| | 67 | * `branches` : for alternative developments |
| | 68 | |
| | 69 | For example: |
| | 70 | |
| | 71 | {{{ |
| | 72 | mkdir toto |
| | 73 | cd toto |
| | 74 | mkdir scdb |
| | 75 | mkdir scdb/trunk |
| | 76 | mkdir scdb/tags |
| | 77 | mkdir scdb/branches |
| | 78 | svn import . https://svn.server.tld/svn/quattor --message 'Initial repository layout' |
| | 79 | }}} |
| | 80 | |
| | 81 | Then, initial checkout will be: |
| | 82 | |
| | 83 | {{{ |
| | 84 | svn checkout https://svn.server.tld/svn/quattor/scdb |
| | 85 | }}} |
| | 86 | |
| | 87 | |
| | 88 | |