dmwm/WMCore — pull request #4081 by ticoann (2012-09-12 19:55:10+00:00)
Title: remove couchskel link from the script. wmagent.spec 1.131 needs to be used

Stuart please review,
Thera are 2 cases wmagent need couchskel.
1. if wmagent manage script installs all the application (reqmgr, workqueue, wmagent) which I guess won't be supported eventually,
2. wmagent installation for prompt scheme.

There needs to be some deployment script changes made. I think it is better to create new deployment script for those two cases.

FYI
For both cases(No. 1, No. 2), following codes are needed in wmagent deployment script.

deploy_wmagent_sw()
{
// wmagent code
......

perl -p -i -e 's/__fill_dbname_here__/wmagent_summary/g' $root/current/apps/reqmon/data/couchapps/WMStats/_attachments/js/loader.js
}

and this code is for No. 2 case.

deploy_wmagent_post()
{
# Tell couchdb to push the reqmon app on the next restart
echo "couchapp push $root/current/apps/wmagent/data/couchapps/WMStats" \
"http://localhost:5984/wmagent_summary" > $root/state/couchdb/stagingarea/wmagent
}