)]}'
{
  "commit": "f4a22c5db5c77ed4600fa3a7faffbb7f8fb69a92",
  "tree": "1c8cfc39b7f1692e03290ad1d00a9f6e0eeb526c",
  "parents": [
    "9dde5280367213b8c46a864ddfe2d13bb1d84f46"
  ],
  "author": {
    "name": "Swann Croiset",
    "email": "scroiset@mirantis.com",
    "time": "Mon Nov 21 09:55:08 2016 +0100"
  },
  "committer": {
    "name": "Swann Croiset",
    "email": "scroiset@mirantis.com",
    "time": "Mon Nov 21 14:37:21 2016 +0100"
  },
  "message": "Fix the heka grains for the aggregator/remote_collector\n\nPreviously, the heka salt grains of the node running aggregator/remote_collector\nget all the metric_collector alarms from all nodes (/etc/salt/grains.d/heka).\nThe resulting mines data is then wrong for the monitoring node, while that\nsitutation fortunately has no impact regarding metric_collector alarm\nconfigurations, the Nagios service leverging mine data get a wrong list of\nalarms for the monitoring node.\n\nThis patch fixes the issue with minimal changes but it appears that the logic\nbehind _service.sls state is not optimal and become hard to understand.\nThis state is executed several times with different contexts for every heka\n\u0027server\u0027 types and is not indempotent, indeed the /etc/salt/grains.d/heka file\ncontent is different between \u0027local\u0027 servers (metric|log)_collector and\n\u0027remote\u0027 servers remote_collector|aggregator.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5749b2dca3320cf15507fd9f1c7fcb65b61ace3b",
      "old_mode": 33188,
      "old_path": "heka/_service.sls",
      "new_id": "b990341c5ba5de2c9a0d6f91853004911bed1a75",
      "new_mode": 33188,
      "new_path": "heka/_service.sls"
    }
  ]
}
