Skip to content

Commit

Permalink
Merge pull request DataDog#207 from raylu/raylu/retry-apt
Browse files Browse the repository at this point in the history
ubuntu: Retry `apt-get update`
  • Loading branch information
truthbk authored Jul 26, 2016
2 parents 82fb914 + 18c4174 commit 5e25089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/ubuntu.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
exec { 'datadog_apt-get_update':
command => '/usr/bin/apt-get update',
refreshonly => true,
tries => 2, # https://bugs.launchpad.net/launchpad/+bug/1430011 won't get fixed until 16.04 xenial
try_sleep => 30,
}

package { 'datadog-agent-base':
Expand Down

0 comments on commit 5e25089

Please sign in to comment.