Ignore:
Timestamp:
Mar 5, 2010 4:58:48 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
c5b28bf
Parents:
444790d
Message:

checkpoint and SLSL error catching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/proxy_protogeni_segment.py

    r444790d r8e6fe4d  
    8080    # interfaces in 'interfaces'.  I love having XML parser code lying around.
    8181    def manifest_to_dict(self, manifest):
    82         # XXX
    83         # if self.debug: return { }
     82        if self.debug: return { }
    8483
    8584        # The class allows us to keep a little state - the dict under
     
    202201                    print >>script, \
    203202                            "%s -C %s -xzf %s" % (tar, s.install, s_base)
    204                 for f in ('hosts', pubkey, secretkey):
     203                for f in ('hosts', pubkey, secretkey, 'client.conf',
     204                        'userconf', 'seer.conf'):
    205205                    print >>script, "%s %s@%s:%s/%s %s/etc" % \
    206206                            (scp, user, host, stagingdir, f, fed_dir)
     
    215215                            (scp, user, host, stagingdir, vname, fed_dir)
    216216
     217
    217218                # Start commands
    218219                if e.get_attribute('portal') and gate_cmd:
     
    220221                    print >>script, gate_cmd
    221222                elif node_cmd:
     223                    # XXX: debug
     224                    print >>script, "sudo perl -I%s/lib %s/bin/import_key.pl /users/%s/.ssh/authorized_keys /root/.ssh/authorized_keys" % (fed_dir, fed_dir, user)
     225                    # XXX: debug
    222226                    if e.get_attribute('startup'):
    223227                        print >>script, "%s \\$USER '%s'" % \
Note: See TracChangeset for help on using the changeset viewer.