Changes between Version 61 and Version 62 of Download/SCDB
- Timestamp:
- Sep 15, 2008, 11:01:28 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download/SCDB
v61 v62 311 311 Currently, deployment of new version of the templates is done by the hook script triggered by `ant deploy` executing the server script `build-tag.pl` through ssh. There is no way to enter a password at this time, thus ssh must be configured in such a way that the Apache account on the Subversion server can do a ssh connection as root on the Quattor server, without password. The easiest is to use ssh keys to do that. 312 312 313 ''Note: if you run SVN server on the Quattor server, an alternative to SSH is to use `sudo`. This currently requires to use a specific variant of the `post-commit` script, `post-commit.sudo`. After installing the script, instead of configuring SSH keys, you need to add the following configuration lines (customize them to reflect your local configuration) to `sudo` with `visudo` utility:'' 314 {{{ 315 Cmnd_Alias QUATTORDEPLOY=/root/quattor/scripts/build-tag.pl * 316 Cmnd_Alias AIIACKCGI=/usr/sbin/aii-shellfe 317 318 apache ALL = NOPASSWD: QUATTORDEPLOY 319 apache ALL = NOPASSWD: AIIACKCGI 320 }}} 313 321 314 322 === Post-installation CGI Script ===