Ensure the fedmsg user has a homedir for cron to work.

This commit is contained in:
Ralph Bean 2013-08-20 19:34:07 +00:00
parent e38d3a6088
commit 4c81cc6b65
2 changed files with 11 additions and 1 deletions

View file

@ -1 +1 @@
58 * * * * fedmsg /usr/share/badges/cronjobs/award-libravatar-badge > /var/log/fedmsg/award-libravatar-badge-cron.log 2>&1
40 * * * * fedmsg /usr/share/badges/cronjobs/award-libravatar-badge > /var/log/fedmsg/award-libravatar-badge-cron.log 2>&1

View file

@ -55,6 +55,16 @@
notify:
- restart fedmsg-hub
- name: ensure the fedmsg user has a homedir for cron to work
file: >
state=directory
path=/usr/share/fedmsg
mode=700
owner=fedmsg
group=fedmsg
tags:
- config
- cron
- name: ensure badges cron directories exist
file: >