{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24463","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24463/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24463/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24463/events","html_url":"https://github.com/saltstack/salt/issues/24463","id":85645172,"number":24463,"title":"service.enable and service.running do not create /etc/rcX.d files Ubuntu 14.04","user":{"login":"twellspring","id":9868888,"avatar_url":"https://avatars.githubusercontent.com/u/9868888?v=3","gravatar_id":"","url":"https://api.github.com/users/twellspring","html_url":"https://github.com/twellspring","followers_url":"https://api.github.com/users/twellspring/followers","following_url":"https://api.github.com/users/twellspring/following{/other_user}","gists_url":"https://api.github.com/users/twellspring/gists{/gist_id}","starred_url":"https://api.github.com/users/twellspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twellspring/subscriptions","organizations_url":"https://api.github.com/users/twellspring/orgs","repos_url":"https://api.github.com/users/twellspring/repos","events_url":"https://api.github.com/users/twellspring/events{/privacy}","received_events_url":"https://api.github.com/users/twellspring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Duplicate","name":"Duplicate","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/State%20Module","name":"State Module","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2375,"closed_issues":2235,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-29T17:21:58Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-05T22:17:45Z","updated_at":"2015-06-29T17:37:12Z","closed_at":null,"body":"The service.enable and service.running functions do not create /etc/rcX.d files to stop/start the service at boot.  This also results in service.enable and service.running showing changed every time.\r\n\r\nTo reproduce:\r\nOn an existing server with default nginx install, the following shows no changes ( already enabled) \r\n```service_test_enable:\r\n  service.enabled:\r\n    - name: nginx\r\n```\r\nIf I run a disable script, it deletes the nginx links in /etc/rcX.d \r\n```service_test_disable:\r\n  service.disabled:\r\n    - name: nginx\r\n```\r\nI then re-run service_test_enable and it says it succeeds, but does not create /etc/rcX.d links.  Rerunning service_test_enable again shows changed but still no /etc/rcX.d links.\r\n\r\nAdding provider debian_service makes this work. The following will state will create the /etc/rcX.d and second run does not show changed.\r\n```\r\nservice_test_enable:\r\n  service.enabled:\r\n    - name: nginx\r\n    - provider: debian_service\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/116770652","html_url":"https://github.com/saltstack/salt/issues/24463#issuecomment-116770652","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24463","id":116770652,"user":{"login":"twellspring","id":9868888,"avatar_url":"https://avatars.githubusercontent.com/u/9868888?v=3","gravatar_id":"","url":"https://api.github.com/users/twellspring","html_url":"https://github.com/twellspring","followers_url":"https://api.github.com/users/twellspring/followers","following_url":"https://api.github.com/users/twellspring/following{/other_user}","gists_url":"https://api.github.com/users/twellspring/gists{/gist_id}","starred_url":"https://api.github.com/users/twellspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twellspring/subscriptions","organizations_url":"https://api.github.com/users/twellspring/orgs","repos_url":"https://api.github.com/users/twellspring/repos","events_url":"https://api.github.com/users/twellspring/events{/privacy}","received_events_url":"https://api.github.com/users/twellspring/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T17:37:12Z","updated_at":"2015-06-29T17:37:12Z","body":"To clarify, are you saying that service.enabled should now be service.enable?   Do not see that in documentation.  "}}