Changeset b312431b for fedd/federation


Ignore:
Timestamp:
Dec 3, 2008 2:23:37 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
266e866
Parents:
375ca67
Message:

A few small bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/allocate_project.py

    r375ca67 rb312431b  
    4848        """
    4949
    50         self.debug = config.get("allocate", "debug", False)
     50        self.debug = config.getboolean("allocate", "debug", False)
    5151        self.wap = config.get('allocate', 'wap', '/usr/testbed/sbin/wap')
    5252        self.newproj = config.get('allocate', 'newproj',
     
    6161                '/usr/testbed/sbin/newuser')
    6262        self.addpubkey = config.get('allocate', 'addpubkey',
    63                 '/usr/testbed/sbin/taddpubkey')
     63                '/usr/testbed/sbin/addpubkey')
    6464        self.grantnodetype = config.get('allocate', 'grantnodetype',
    6565                '/usr/testbed/sbin/grantnodetype')
     
    357357                    if k.has_key('sshPubkey')]:
    358358                if self.allocation_level >= self.dynamic_keys:
    359                     cmds.append((self.wap, self.addpubkey, '-w', \
     359                    cmds.append((self.wap, self.addpubkey, '-r', \
    360360                            '-u', name, '-k', sk))
    361361                elif self.allocation_level >= self.confirm_keys:
     
    438438                    if (name.rstrip(), sk.rstrip()) not in self.fixed_keys:
    439439                        if self.allocation_level >= self.dynamic_keys:
    440                             cmds.append((self.wap, self.addpubkey, '-R', '-w', \
     440                            cmds.append((self.wap, self.addpubkey, '-R', '-r', \
    441441                                    '-u', name, '-k', sk))
    442442
Note: See TracChangeset for help on using the changeset viewer.