diff options
author | ivan <ivan> | 2004-06-05 03:00:17 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-06-05 03:00:17 +0000 |
commit | ef10539fa94bf35ef913bab50030a7f9242c2f9e (patch) | |
tree | b6b08b65dac619ead4c2d725d7b91d72ee73bd8d /Makefile | |
parent | 1cd72a6f1bd5ca39410f525779f5ca4ee9228a1c (diff) |
self-service installer?
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -57,9 +57,13 @@ QUEUED_USER=fs_queue FREESIDE_PATH = `pwd` SELFSERVICE_USER = fs_selfservice -SELFSERVICE_MACHINES = localhost +# SELFSERVICE_MACHINES = www.example.com # SELFSERVICE_MACHINES = web1.example.com web2.example.com +#user with sudo access on SELFSERVICE_MACHINES for automated self-service +#installation. +SELFSERVICE_INSTALL_USER = ivan + RT_ENABLED = 0 #RT_ENABLED = 1 RT_DOMAIN = example.com @@ -165,6 +169,12 @@ install-init: s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\ " ${INIT_FILE} +install-selfservice: + for MACHINE in ${SELFSERVICE_MACHINES}; do \ + scp -r fs_selfservice/FS-SelfService ${SELFSERVICE_INSTALL_USER}@\$MACHINE:. + ssh ${SELFSERVICE_INSTALL_USER}@\$MACHINE "cd FS-SelfService; perl Makefile.PL && make" + ssh ${SELFSERVICE_INSTALL_USER}@\$MACHINE "cd FS-SelfService; sudo make install" + install: install-perl-modules install-docs install-init install-rt deploy: install |