{"action":"created","issue":{"url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/43","labels_url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/43/comments","events_url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/43/events","html_url":"https://github.com/jhoblitt/puppet-smartd/pull/43","id":87798144,"number":43,"title":"Manage smartd service and don't attempt to stop if package is absent","user":{"login":"queeno","id":1544527,"avatar_url":"https://avatars.githubusercontent.com/u/1544527?v=3","gravatar_id":"","url":"https://api.github.com/users/queeno","html_url":"https://github.com/queeno","followers_url":"https://api.github.com/users/queeno/followers","following_url":"https://api.github.com/users/queeno/following{/other_user}","gists_url":"https://api.github.com/users/queeno/gists{/gist_id}","starred_url":"https://api.github.com/users/queeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queeno/subscriptions","organizations_url":"https://api.github.com/users/queeno/orgs","repos_url":"https://api.github.com/users/queeno/repos","events_url":"https://api.github.com/users/queeno/events{/privacy}","received_events_url":"https://api.github.com/users/queeno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T17:31:07Z","updated_at":"2015-06-12T18:15:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jhoblitt/puppet-smartd/pulls/43","html_url":"https://github.com/jhoblitt/puppet-smartd/pull/43","diff_url":"https://github.com/jhoblitt/puppet-smartd/pull/43.diff","patch_url":"https://github.com/jhoblitt/puppet-smartd/pull/43.patch"},"body":"The smartd service resource has been wrapped in an if statement and controlled by the `$manage_service` parameter, so that a user of the module can choose manage the service externally.\r\n\r\nIf the smartd package is not installed, puppet will attempt to stop a service that doesn't exist. For this reason, I believe the smartd service should not be managed if `$ensure` is set to `absent` or `purged`.\r\n\r\nIn fact, if smartd is getting uninstalled, the deb script will take care to stop the service anyway."},"comment":{"url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/comments/111578955","html_url":"https://github.com/jhoblitt/puppet-smartd/pull/43#issuecomment-111578955","issue_url":"https://api.github.com/repos/jhoblitt/puppet-smartd/issues/43","id":111578955,"user":{"login":"queeno","id":1544527,"avatar_url":"https://avatars.githubusercontent.com/u/1544527?v=3","gravatar_id":"","url":"https://api.github.com/users/queeno","html_url":"https://github.com/queeno","followers_url":"https://api.github.com/users/queeno/followers","following_url":"https://api.github.com/users/queeno/following{/other_user}","gists_url":"https://api.github.com/users/queeno/gists{/gist_id}","starred_url":"https://api.github.com/users/queeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queeno/subscriptions","organizations_url":"https://api.github.com/users/queeno/orgs","repos_url":"https://api.github.com/users/queeno/repos","events_url":"https://api.github.com/users/queeno/events{/privacy}","received_events_url":"https://api.github.com/users/queeno/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T18:15:17Z","updated_at":"2015-06-12T18:15:17Z","body":"@jhoblitt Unit tests fixed ;-) Thanks for your quick response!"}}