{"action":"created","issue":{"url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/134","labels_url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/134/comments","events_url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/134/events","html_url":"https://github.com/itamae-kitchen/itamae/pull/134","id":78322716,"number":134,"title":"Support provider for service resource","user":{"login":"sonots","id":2290461,"avatar_url":"https://avatars.githubusercontent.com/u/2290461?v=3","gravatar_id":"","url":"https://api.github.com/users/sonots","html_url":"https://github.com/sonots","followers_url":"https://api.github.com/users/sonots/followers","following_url":"https://api.github.com/users/sonots/following{/other_user}","gists_url":"https://api.github.com/users/sonots/gists{/gist_id}","starred_url":"https://api.github.com/users/sonots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonots/subscriptions","organizations_url":"https://api.github.com/users/sonots/orgs","repos_url":"https://api.github.com/users/sonots/repos","events_url":"https://api.github.com/users/sonots/events{/privacy}","received_events_url":"https://api.github.com/users/sonots/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-20T01:33:01Z","updated_at":"2015-05-20T02:50:57Z","closed_at":"2015-05-20T02:48:01Z","pull_request":{"url":"https://api.github.com/repos/itamae-kitchen/itamae/pulls/134","html_url":"https://github.com/itamae-kitchen/itamae/pull/134","diff_url":"https://github.com/itamae-kitchen/itamae/pull/134.diff","patch_url":"https://github.com/itamae-kitchen/itamae/pull/134.patch"},"body":"Fix https://github.com/itamae-kitchen/itamae/issues/132\r\n\r\nNote that only `:init` and `:systemd` providers are fully implemented currently by specinfra. \r\n\r\n`daemontools` provider requires another parameter for `enable` action ([specinfra/daemontools.rb](https://github.com/serverspec/specinfra/blob/80700e73c0a251d0353a17d83b5fa7bd3429bf31/lib/specinfra/command/module/service/daemontools.rb#L14)), so I don't support it with `service` resource, but `daemontools_service` resource https://github.com/sonots/itamae-plugin-resource-daemontools_service can be used. \r\n\r\nPS. I could not find a suitable place to write tests, please let me know if there are. "},"comment":{"url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/comments/103734395","html_url":"https://github.com/itamae-kitchen/itamae/pull/134#issuecomment-103734395","issue_url":"https://api.github.com/repos/itamae-kitchen/itamae/issues/134","id":103734395,"user":{"login":"ryotarai","id":706434,"avatar_url":"https://avatars.githubusercontent.com/u/706434?v=3","gravatar_id":"","url":"https://api.github.com/users/ryotarai","html_url":"https://github.com/ryotarai","followers_url":"https://api.github.com/users/ryotarai/followers","following_url":"https://api.github.com/users/ryotarai/following{/other_user}","gists_url":"https://api.github.com/users/ryotarai/gists{/gist_id}","starred_url":"https://api.github.com/users/ryotarai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryotarai/subscriptions","organizations_url":"https://api.github.com/users/ryotarai/orgs","repos_url":"https://api.github.com/users/ryotarai/repos","events_url":"https://api.github.com/users/ryotarai/events{/privacy}","received_events_url":"https://api.github.com/users/ryotarai/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T02:50:57Z","updated_at":"2015-05-20T02:50:57Z","body":"released in v1.2.17"}}