@@ -0,0 +1,596 @@
+#%0A# Copyright (c) 2007 rPath, Inc.%0A#%0A%0Afrom rpathplugin import rPathPlugin%0A%0Aclass RAPRSAKey(rPathPlugin):%0A    name = 'raprsakey'%0A%0A    def pluginMethod(self):%0A        if ('rappublickey' not in self.rpathcfg or%0A            'rapprivatekey' not in self.rpathcfg):%0A            return%0A%0A        pub = self.rpathcfg%5B'rappublickey'%5D%0A        priv = self.rpathcfg%5B'rapprivatekey'%5D%0A%0A        pubfile = open('/etc/raa/raa-service.pubkey', 'w')%0A        pubfile.write(pub)%0A        pubfile.close()%0A%0A        privfile = open('/etc/raa/raa-service.privkey', 'w')%0A        privfile.write(priv)%0A        privfile.close()%0A

add rap ras plugin