Fix up job run types so that we aren't auto-starting new jobs. Fix up

job dependency generator to call the right new methods for generating
inventory and project updates
This commit is contained in:
Matthew Jones
2014-03-25 15:21:30 -04:00
parent bb630fddbc
commit 03249e59f3
5 changed files with 10 additions and 7 deletions

View File

@@ -358,6 +358,7 @@ class ProjectUpdate(UnifiedJob, ProjectOptions):
self.start_args = json_args
self.save()
self.start_args = encrypt_field(self, 'start_args')
self.status = 'pending'
self.save()
# notify_task_runner.delay(dict(task_type="project_update", id=self.id, metadata=kwargs))
return True