{"action":"created","issue":{"url":"https://api.github.com/repos/echocat/puppet-graphite/issues/178","labels_url":"https://api.github.com/repos/echocat/puppet-graphite/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/echocat/puppet-graphite/issues/178/comments","events_url":"https://api.github.com/repos/echocat/puppet-graphite/issues/178/events","html_url":"https://github.com/echocat/puppet-graphite/pull/178","id":70632222,"number":178,"title":"Fix carbon init scripts for POSIX shells","user":{"login":"peikk0","id":1555947,"avatar_url":"https://avatars.githubusercontent.com/u/1555947?v=3","gravatar_id":"","url":"https://api.github.com/users/peikk0","html_url":"https://github.com/peikk0","followers_url":"https://api.github.com/users/peikk0/followers","following_url":"https://api.github.com/users/peikk0/following{/other_user}","gists_url":"https://api.github.com/users/peikk0/gists{/gist_id}","starred_url":"https://api.github.com/users/peikk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peikk0/subscriptions","organizations_url":"https://api.github.com/users/peikk0/orgs","repos_url":"https://api.github.com/users/peikk0/repos","events_url":"https://api.github.com/users/peikk0/events{/privacy}","received_events_url":"https://api.github.com/users/peikk0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-24T09:03:39Z","updated_at":"2015-04-24T09:06:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/echocat/puppet-graphite/pulls/178","html_url":"https://github.com/echocat/puppet-graphite/pull/178","diff_url":"https://github.com/echocat/puppet-graphite/pull/178.diff","patch_url":"https://github.com/echocat/puppet-graphite/pull/178.patch"},"body":"== is not a valid operator in POSIX shells (eg. dash on Debian/Ubuntu),\r\nand = works just as well."},"comment":{"url":"https://api.github.com/repos/echocat/puppet-graphite/issues/comments/95862462","html_url":"https://github.com/echocat/puppet-graphite/pull/178#issuecomment-95862462","issue_url":"https://api.github.com/repos/echocat/puppet-graphite/issues/178","id":95862462,"user":{"login":"peikk0","id":1555947,"avatar_url":"https://avatars.githubusercontent.com/u/1555947?v=3","gravatar_id":"","url":"https://api.github.com/users/peikk0","html_url":"https://github.com/peikk0","followers_url":"https://api.github.com/users/peikk0/followers","following_url":"https://api.github.com/users/peikk0/following{/other_user}","gists_url":"https://api.github.com/users/peikk0/gists{/gist_id}","starred_url":"https://api.github.com/users/peikk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peikk0/subscriptions","organizations_url":"https://api.github.com/users/peikk0/orgs","repos_url":"https://api.github.com/users/peikk0/repos","events_url":"https://api.github.com/users/peikk0/events{/privacy}","received_events_url":"https://api.github.com/users/peikk0/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T09:06:25Z","updated_at":"2015-04-24T09:06:25Z","body":"This caused errors on Ubuntu and didn't replace 'cache' with 'a' as a result:\r\n```\r\n# service carbon-cache restart\r\n/etc/init.d/carbon-cache: 39: [: cache: unexpected operator\r\nSending kill signal to pid 32502\r\n/etc/init.d/carbon-cache: 39: [: b: unexpected operator\r\nSending kill signal to pid 32508\r\n/etc/init.d/carbon-cache: 39: [: c: unexpected operator\r\nSending kill signal to pid 32514\r\n/etc/init.d/carbon-cache: 39: [: d: unexpected operator\r\nSending kill signal to pid 32519\r\n/etc/init.d/carbon-cache: 31: [: cache: unexpected operator\r\nRemoving stale pidfile /opt/graphite/storage/carbon-cache-cache.pid\r\nStarting carbon-cache (instance cache)\r\n/etc/init.d/carbon-cache: 31: [: b: unexpected operator\r\nRemoving stale pidfile /opt/graphite/storage/carbon-cache-b.pid\r\nStarting carbon-cache (instance b)\r\n/etc/init.d/carbon-cache: 31: [: c: unexpected operator\r\nRemoving stale pidfile /opt/graphite/storage/carbon-cache-c.pid\r\nStarting carbon-cache (instance c)\r\n/etc/init.d/carbon-cache: 31: [: d: unexpected operator\r\nRemoving stale pidfile /opt/graphite/storage/carbon-cache-d.pid\r\nStarting carbon-cache (instance d)\r\n```"}}