'Mark the update as complete.
This currently occurs when all resources have been updated; there may
still be resources being cleaned up, but the Stack should now be in
service.'

def mark_complete(self):

    LOG.info('[%(name)s(%(id)s)]    update    traversal    %(tid)s    complete', {'name': self.name, 'id': self.id, 'tid': self.current_traversal})
    reason = ('Stack    %s    completed    successfully' % self.action)
    updated = self.state_set(self.action, self.COMPLETE, reason)
    if (not updated):
        return
    self.purge_db()
