Ignore:
Timestamp:
Dec 30, 2008, 7:52:56 PM (16 years ago)
Author:
price
Message:

invirt-cache-acls: get afs cell list from invirt-config

Location:
trunk/packages/invirt-web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/config.todo

    r1947 r1949  
    55files/etc/apache2/sites-available/default: assumes trac
    66files/etc/init.d/apache2.invirt: afs cell (for svn)
    7 invirt-cache-acls: aklog athena sipb
    87code/templates/error.tmpl: xvm@mit.edu
    98code/templates/help.tmpl: assumes trac
  • trunk/packages/invirt-web/debian/changelog

    r1947 r1949  
    77    (so that restart works)
    88
    9  -- Greg Price <price@mit.edu>  Tue, 30 Dec 2008 17:31:48 -0500
     9 -- Greg Price <price@mit.edu>  Tue, 30 Dec 2008 17:43:41 -0500
    1010
    1111invirt-web (0.0.15) unstable; urgency=low
  • trunk/packages/invirt-web/invirt-cache-acls

    r1947 r1949  
    11#!/bin/sh
     2cells () {
     3  for i in $(invirt-getconf -l authz); do
     4    if [ afs = "$(invirt-getconf authz.$i.type)" ]; then
     5      invirt-getconf authz.$i.cell
     6    fi
     7  done
     8}
    29kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
    3 aklog athena sipb
     10aklog $(cells)
    411python /var/www/invirt-web/cache_acls.py
Note: See TracChangeset for help on using the changeset viewer.