Changes between Version 69 and Version 70 of Download/SCDB
- Timestamp:
- Dec 19, 2008, 3:57:26 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download/SCDB
v69 v70 444 444 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. 445 445 446 ''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:''446 ''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, [source:SCDB/tags/pro/src/hooks/post-commit.sudo 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:'' 447 447 {{{ 448 448 Cmnd_Alias QUATTORDEPLOY=/root/quattor/scripts/build-tag.pl * 449 Cmnd_Alias AIIACKCGI=/usr/sbin/aii-shellfe450 451 449 apache ALL = NOPASSWD: QUATTORDEPLOY 452 apache ALL = NOPASSWD: AIIACKCGI453 450 }}} 454 451 … … 471 468 472 469 {{{ 473 apache sbgat419.in2p3.fr=(ALL) NOPASSWD: /usr/sbin/aii-shellfe 470 Cmnd_Alias AIIACKCGI=/usr/sbin/aii-shellfe 471 apache ALL = NOPASSWD: AIIACKCGI 474 472 }}} 475 473