| | 69 | |
| | 70 | |
| | 71 | == Quattor Server Final configuration == |
| | 72 | |
| | 73 | Before being able to deploy the created configuration, there is a last configuration step needed to allow deployment of the configuration after successful compilation. This involves : |
| | 74 | |
| | 75 | * Adding a hook script to the Subversion repository to trigger the deployment |
| | 76 | * Adding a script on the Quattor server that will be launched by the hook script, using ssh |
| | 77 | * Configuring SSH keys to allow execution of the previous script as root (preferably) from the Apache account |
| | 78 | * Add a CGI script on Quattor web server used at end of installation of a machine to allow next boot from local disk. |
| | 79 | |
| | 80 | === Installation of hook script and server script === |
| | 81 | |
| | 82 | The hook script, `post-commit`, is provided as part of SCDB, in the `src/hooks` directory. It must be installed on your Subversion server, in the `hook` directory of the repository, and given executable permission for Apache user. |
| | 83 | |
| | 84 | The other script, `build-tag.pl`, also provided as part of SCDB, in the `src/hooks` directory, must be installed (root executable) in `/root/quattor` on the Quattor server. |
| | 85 | |