just for the sake of not relying on implicit defaults, can you do ensure:
present on the crons? (and also add it to any place missing, in case this
part was missed)

On Fri, Jan 22, 2016 at 2:44 PM, sebb AT ASF <s...@apache.org> wrote:

> I've added 3 jobs for the new LDAP/JSON scripts.
>
> Do these look OK?
>
> If so, perhaps they can be committed.
>
> Note: I staggered the times to try and reduce the load on LDAP
>
> Thanks.
>
> ---------- Forwarded message ----------
> From:  <s...@apache.org>
> Date: 22 January 2016 at 22:40
> Subject: infrastructure-puppet git commit: Add new jobs for ldap output
> To: infrastructure-...@apache.org
>
>
> Repository: infrastructure-puppet
> Updated Branches:
>   refs/heads/sebb-201601 [created] 3ff61ade6
>
>
> Add new jobs for ldap output
>
>
> Project: http://git-wip-us.apache.org/repos/asf/infrastructure-puppet/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/infrastructure-puppet/commit/3ff61ade
> Tree:
> http://git-wip-us.apache.org/repos/asf/infrastructure-puppet/tree/3ff61ade
> Diff:
> http://git-wip-us.apache.org/repos/asf/infrastructure-puppet/diff/3ff61ade
>
> Branch: refs/heads/sebb-201601
> Commit: 3ff61ade6070b06892fc178aa382cd41d0c5b4ef
> Parents: 056251c
> Author: Sebb <s...@apache.org>
> Authored: Fri Jan 22 22:40:19 2016 +0000
> Committer: Sebb <s...@apache.org>
> Committed: Fri Jan 22 22:40:19 2016 +0000
>
> ----------------------------------------------------------------------
>  data/nodes/whimsy-vm2.apache.org.yaml | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/infrastructure-puppet/blob/3ff61ade/data/nodes/whimsy-vm2.apache.org.yaml
> ----------------------------------------------------------------------
> diff --git a/data/nodes/whimsy-vm2.apache.org.yaml
> b/data/nodes/whimsy-vm2.apache.org.yaml
> index daca4f1..c72ce5a 100644
> --- a/data/nodes/whimsy-vm2.apache.org.yaml
> +++ b/data/nodes/whimsy-vm2.apache.org.yaml
> @@ -63,6 +63,21 @@ cron:
>      user: "%{apache::user}"
>      minute: '*/15'
>
> +  public_ldap_committees:
> +    command: "(cd /srv/whimsy/www; /usr/local/bin/ruby2.3.0
> roster/public_ldap_committees.rb public/public_ldap_committees.json >
> logs/public-ldap-committees 2>&1)"
> +    user: "%{apache::user}"
> +    minute: '2,17,32,47'
> +
> +  public_ldap_committers:
> +    command: "(cd /srv/whimsy/www; /usr/local/bin/ruby2.3.0
> roster/public_ldap_committers.rb public/public_ldap_committers.json >
> logs/public-ldap-committers 2>&1)"
> +    user: "%{apache::user}"
> +    minute: '4,19,34,49'
> +
> +  public_ldap_groups:
> +    command: "(cd /srv/whimsy/www; /usr/local/bin/ruby2.3.0
> roster/public_ldap_groups.rb public/public_ldap_groups.json >
> logs/public-ldap-groups 2>&1)"
> +    user: "%{apache::user}"
> +    minute: '6,21,36,51'
> +
>    board_minutes:
>      command: "(cd /srv/whimsy/tools; /usr/bin/ruby collate_minutes.rb
> > ../www/logs/collate_minutes 2>&1)"
>      user: "%{apache::user}"
>

Reply via email to