some code...

This commit is contained in:
Johannes Findeisen 2013-05-16 23:03:00 +02:00
commit cac342582b
19 changed files with 788 additions and 0 deletions

12
lib/core/job.py Normal file
View file

@ -0,0 +1,12 @@
"""
This is what job_function needs as parameter for each job to succesfully
execute.
"""
class Job:
def __init__(self, command=None, members=None, host=None, service=None):
self.command = command
self.members = members
self.host = host
self.service = service