renamed xmpp task to jabber to avoid conflicts; added simple xmpp/jabber support to tasks

This commit is contained in:
Johannes Findeisen 2013-09-19 20:50:17 +02:00
commit 12040d0484
5 changed files with 41 additions and 27 deletions

View file

@ -46,7 +46,7 @@ class Job:
for member in self.service.get_hostgroup().get_members():
for task in member.get_tasks():
print(task)
task.execute("Task executed!")
task.execute("Task executed for host: " + self.host)
pass
def handle_call(self):