You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Geoffrey Corey (JIRA)" <ji...@apache.org> on 2015/10/02 11:05:26 UTC
[jira] [Commented] (INFRA-10521) Updates needed to projects-vm root
crontab
[ https://issues.apache.org/jira/browse/INFRA-10521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940930#comment-14940930 ]
Geoffrey Corey commented on INFRA-10521:
----------------------------------------
I have added the ability to add crons through yaml now.
For example:
in projects-vm yaml:
cron:
update_reporter_data:
... rest of cron hash converted to yaml...
and you can see all the cron attributes: https://docs.puppetlabs.com/references/latest/type.html#cron
> Updates needed to projects-vm root crontab
> ------------------------------------------
>
> Key: INFRA-10521
> URL: https://issues.apache.org/jira/browse/INFRA-10521
> Project: Infrastructure
> Issue Type: Task
> Components: Puppet
> Reporter: Sebb
> Assignee: Geoffrey Corey
>
> The following commands need to be added to the root crontab on projects-vm.apache.org please:
> 20 4 * * * cd /var/www/reporter.apache.org/data/releases && ( svn status | awk '/^\? / {print $2}' | xargs -r svn add )
> 20 5 * * * cd /var/www/reporter.apache.org/data/releases && svn ci -m "updating reporter data" --username projects_role --password `cat /root/.rolepwd` --non-interactive
> These are needed to save the release data generated by PMCs when using the reporter tool.
> [I have looked around to try and find where these puppet entries are supposed to be held, but cannot find where they belong, so cannot provide a patch or pull request.]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)