[
  {
    "url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments/97529110",
    "html_url": "https://github.com/DataDog/puppet-datadog-agent/issues/81#issuecomment-97529110",
    "issue_url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/81",
    "id": 97529110,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk3NTI5MTEw",
    "user": {
      "login": "ghost",
      "id": 10137,
      "node_id": "MDQ6VXNlcjEwMTM3",
      "avatar_url": "https://avatars3.githubusercontent.com/u/10137?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ghost",
      "html_url": "https://github.com/ghost",
      "followers_url": "https://api.github.com/users/ghost/followers",
      "following_url": "https://api.github.com/users/ghost/following{/other_user}",
      "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
      "organizations_url": "https://api.github.com/users/ghost/orgs",
      "repos_url": "https://api.github.com/users/ghost/repos",
      "events_url": "https://api.github.com/users/ghost/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ghost/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-29T18:16:17Z",
    "updated_at": "2015-04-29T18:18:15Z",
    "author_association": "NONE",
    "body": "I was able to fix this by setting the ordering for those resources inside of the ubuntu.pp manifest:\n\n```\ndiff --git a/manifests/ubuntu.pp b/manifests/ubuntu.pp\nindex 6a84f24..bc1e9f0 100644\n--- a/manifests/ubuntu.pp\n+++ b/manifests/ubuntu.pp\n@@ -50,11 +50,4 @@ class datadog_agent::ubuntu(\n       require   => Package['datadog-agent'],\n     }\n\n+    Exec['datadog_key'] ->\n+    File['/etc/apt/sources.list.d/datadog.list'] ~>\n+    Exec['datadog_apt-get_update'] ->\n+    Package['datadog-agent-base'] ->\n+    Package['datadog-agent'] ->\n+    Service['datadog-agent']\n+\n }\n```\n\nForked version of the module is here: https://github.com/sbrimhall/puppet-datadog-agent.git\n\nThat fixed the issue for me if someone wanted to merge that into this module.\n"
  },
  {
    "url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments/97531853",
    "html_url": "https://github.com/DataDog/puppet-datadog-agent/issues/81#issuecomment-97531853",
    "issue_url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/81",
    "id": 97531853,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk3NTMxODUz",
    "user": {
      "login": "LeoCavaille",
      "id": 1788830,
      "node_id": "MDQ6VXNlcjE3ODg4MzA=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1788830?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/LeoCavaille",
      "html_url": "https://github.com/LeoCavaille",
      "followers_url": "https://api.github.com/users/LeoCavaille/followers",
      "following_url": "https://api.github.com/users/LeoCavaille/following{/other_user}",
      "gists_url": "https://api.github.com/users/LeoCavaille/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/LeoCavaille/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/LeoCavaille/subscriptions",
      "organizations_url": "https://api.github.com/users/LeoCavaille/orgs",
      "repos_url": "https://api.github.com/users/LeoCavaille/repos",
      "events_url": "https://api.github.com/users/LeoCavaille/events{/privacy}",
      "received_events_url": "https://api.github.com/users/LeoCavaille/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-29T18:24:36Z",
    "updated_at": "2015-04-29T18:24:36Z",
    "author_association": "MEMBER",
    "body": "Very interesting @sbrimhall thanks, will test that and try to merge this in our repo.\n"
  },
  {
    "url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments/107737835",
    "html_url": "https://github.com/DataDog/puppet-datadog-agent/issues/81#issuecomment-107737835",
    "issue_url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/81",
    "id": 107737835,
    "node_id": "MDEyOklzc3VlQ29tbWVudDEwNzczNzgzNQ==",
    "user": {
      "login": "talwai",
      "id": 3237580,
      "node_id": "MDQ6VXNlcjMyMzc1ODA=",
      "avatar_url": "https://avatars1.githubusercontent.com/u/3237580?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/talwai",
      "html_url": "https://github.com/talwai",
      "followers_url": "https://api.github.com/users/talwai/followers",
      "following_url": "https://api.github.com/users/talwai/following{/other_user}",
      "gists_url": "https://api.github.com/users/talwai/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/talwai/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/talwai/subscriptions",
      "organizations_url": "https://api.github.com/users/talwai/orgs",
      "repos_url": "https://api.github.com/users/talwai/repos",
      "events_url": "https://api.github.com/users/talwai/events{/privacy}",
      "received_events_url": "https://api.github.com/users/talwai/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-06-01T22:36:38Z",
    "updated_at": "2015-06-01T22:36:38Z",
    "author_association": "CONTRIBUTOR",
    "body": "@kohsuke @sbrimhall [this change](https://github.com/DataDog/puppet-datadog-agent/pull/86/files) should have fixed the issue of imposing the deterministic ordering @kohsuke described. It is part of our `1.3.0` release, can you update the module and tell us if it is still an issue?\n"
  },
  {
    "url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments/113700131",
    "html_url": "https://github.com/DataDog/puppet-datadog-agent/issues/81#issuecomment-113700131",
    "issue_url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/81",
    "id": 113700131,
    "node_id": "MDEyOklzc3VlQ29tbWVudDExMzcwMDEzMQ==",
    "user": {
      "login": "rhoml",
      "id": 369350,
      "node_id": "MDQ6VXNlcjM2OTM1MA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/369350?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/rhoml",
      "html_url": "https://github.com/rhoml",
      "followers_url": "https://api.github.com/users/rhoml/followers",
      "following_url": "https://api.github.com/users/rhoml/following{/other_user}",
      "gists_url": "https://api.github.com/users/rhoml/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/rhoml/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/rhoml/subscriptions",
      "organizations_url": "https://api.github.com/users/rhoml/orgs",
      "repos_url": "https://api.github.com/users/rhoml/repos",
      "events_url": "https://api.github.com/users/rhoml/events{/privacy}",
      "received_events_url": "https://api.github.com/users/rhoml/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-06-20T02:59:35Z",
    "updated_at": "2015-06-20T02:59:35Z",
    "author_association": "CONTRIBUTOR",
    "body": "https://github.com/DataDog/puppet-datadog-agent/pull/109 might get rid of the errors in Ubuntu\n"
  },
  {
    "url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments/113787646",
    "html_url": "https://github.com/DataDog/puppet-datadog-agent/issues/81#issuecomment-113787646",
    "issue_url": "https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/81",
    "id": 113787646,
    "node_id": "MDEyOklzc3VlQ29tbWVudDExMzc4NzY0Ng==",
    "user": {
      "login": "kohsuke",
      "id": 50003,
      "node_id": "MDQ6VXNlcjUwMDAz",
      "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/kohsuke",
      "html_url": "https://github.com/kohsuke",
      "followers_url": "https://api.github.com/users/kohsuke/followers",
      "following_url": "https://api.github.com/users/kohsuke/following{/other_user}",
      "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions",
      "organizations_url": "https://api.github.com/users/kohsuke/orgs",
      "repos_url": "https://api.github.com/users/kohsuke/repos",
      "events_url": "https://api.github.com/users/kohsuke/events{/privacy}",
      "received_events_url": "https://api.github.com/users/kohsuke/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-06-20T16:23:42Z",
    "updated_at": "2015-06-20T16:23:42Z",
    "author_association": "NONE",
    "body": "Unfortunately I don't have new server that needs a fresh datadog agent, so the change is not easily testable for me.\n"
  }
]