예제 #1
0
파일: eip.py 프로젝트: 9apps/9tk
 def install(self):
     renderArgs = {
         "provides" : "EC2 Elastic IP provisioning",
         "short_description" : "EIP housekeeping",
         "description" : "Associate and disassociate EIP to/from this instance",
         "py_script" : "eip.py",
         "start_args" : "associate",
         "stop_args" : "disassociate"
     }
     initd = Initd(self.INITD_NAME)
     return initd.install(renderArgs)
예제 #2
0
파일: volume.py 프로젝트: 9apps/9tk
 def install(self):
     renderArgs = {
         "provides" : "EC2 Volume provisioning",
         "short_description" : "Volume housekeeping",
         "description" : "Mount or umount a given list of volumes to their respective mountpoints",
         "py_script" : "volume.py",
         "start_args" : "mount",
         "stop_args" : "umount"
     }
     initd = Initd(self.INITD_NAME)
     return initd.install(renderArgs)
예제 #3
0
파일: eip.py 프로젝트: 9apps/9tk
 def uninstall(self):
     initd = Initd(self.INITD_NAME)
     return initd.uninstall()