{"action":"created","issue":{"url":"https://api.github.com/repos/garethr/garethr-docker/issues/309","labels_url":"https://api.github.com/repos/garethr/garethr-docker/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/garethr/garethr-docker/issues/309/comments","events_url":"https://api.github.com/repos/garethr/garethr-docker/issues/309/events","html_url":"https://github.com/garethr/garethr-docker/issues/309","id":97082463,"number":309,"title":"Provide a flag to disable docker::run services","user":{"login":"skython","id":419074,"avatar_url":"https://avatars.githubusercontent.com/u/419074?v=3","gravatar_id":"","url":"https://api.github.com/users/skython","html_url":"https://github.com/skython","followers_url":"https://api.github.com/users/skython/followers","following_url":"https://api.github.com/users/skython/following{/other_user}","gists_url":"https://api.github.com/users/skython/gists{/gist_id}","starred_url":"https://api.github.com/users/skython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skython/subscriptions","organizations_url":"https://api.github.com/users/skython/orgs","repos_url":"https://api.github.com/users/skython/repos","events_url":"https://api.github.com/users/skython/events{/privacy}","received_events_url":"https://api.github.com/users/skython/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T15:56:48Z","updated_at":"2015-08-28T22:44:54Z","closed_at":null,"body":"Docker container dependencies are not considered by the init system.\r\nThis behavior leads to errors when starting containers where the links to other containers cannot be fulfilled.\r\n\r\nIt would be nice if there would be a way to disable these services and let puppet start these services in the right order. Currently the **enable** property is always **true** for all docker::run services.\r\n\r\n    service { \"docker-${sanitised_title}\":\r\n      ensure    => $running,\r\n      enable    => true,\r\n      hasstatus => $hasstatus,\r\n      require   => File[$initscript],\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/garethr/garethr-docker/issues/comments/135904953","html_url":"https://github.com/garethr/garethr-docker/issues/309#issuecomment-135904953","issue_url":"https://api.github.com/repos/garethr/garethr-docker/issues/309","id":135904953,"user":{"login":"nuttycom","id":27591,"avatar_url":"https://avatars.githubusercontent.com/u/27591?v=3","gravatar_id":"","url":"https://api.github.com/users/nuttycom","html_url":"https://github.com/nuttycom","followers_url":"https://api.github.com/users/nuttycom/followers","following_url":"https://api.github.com/users/nuttycom/following{/other_user}","gists_url":"https://api.github.com/users/nuttycom/gists{/gist_id}","starred_url":"https://api.github.com/users/nuttycom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuttycom/subscriptions","organizations_url":"https://api.github.com/users/nuttycom/orgs","repos_url":"https://api.github.com/users/nuttycom/repos","events_url":"https://api.github.com/users/nuttycom/events{/privacy}","received_events_url":"https://api.github.com/users/nuttycom/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T22:44:54Z","updated_at":"2015-08-28T22:44:54Z","body":"Something else that is needed along these lines is a mechanism to clean up the initscripts when they are no longer relevant. ensure => absent should remove the initscript, and docker rm -f the container."}}