example42/puppet-jenkins — pull request #2 by mrolli (2012-11-13 16:35:45+00:00)
Title: Runs apt-get update only once upon jenkins.ist change; provides idempote...

On every puppet run Exec[aptget_update_jenkins] gets run which does not promote idempotency.

I prefer to run Exec[aptget_update_jenkins] only when jenkins.list actually has changed. In any other case this should be a noop. Therefore I added refreshonly to true for Exec[aptget_update_jenkins].