This commit is contained in:
Daniel Wallace 2014-07-28 19:32:33 -05:00
parent 855fd9f054
commit d1f767be4f

View File

@ -296,7 +296,7 @@ def present(name,
return ret
if data == 'updated':
ret['comment'] = 'Cron {0} updated'.format(name, user)
ret['comment'] = 'Cron {0} updated'.format(name)
ret['changes'] = {user: name}
return ret
ret['comment'] = ('Cron {0} for user {1} failed to commit with error \n{2}'
@ -576,7 +576,7 @@ def env_present(name,
return ret
if data == 'updated':
ret['comment'] = 'Cron env {0} updated'.format(name, user)
ret['comment'] = 'Cron env {0} updated'.format(name)
ret['changes'] = {user: name}
return ret
ret['comment'] = ('Cron env {0} for user {1} failed to commit with error \n{2}'