{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/31043","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/31043/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31043/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/31043/events","html_url":"https://github.com/saltstack/salt/issues/31043","id":132452664,"number":31043,"title":"sys.list_functions doesn't show synced module","user":{"login":"fredrikaverpil","id":994357,"avatar_url":"https://avatars.githubusercontent.com/u/994357?v=3","gravatar_id":"","url":"https://api.github.com/users/fredrikaverpil","html_url":"https://github.com/fredrikaverpil","followers_url":"https://api.github.com/users/fredrikaverpil/followers","following_url":"https://api.github.com/users/fredrikaverpil/following{/other_user}","gists_url":"https://api.github.com/users/fredrikaverpil/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrikaverpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrikaverpil/subscriptions","organizations_url":"https://api.github.com/users/fredrikaverpil/orgs","repos_url":"https://api.github.com/users/fredrikaverpil/repos","events_url":"https://api.github.com/users/fredrikaverpil/events{/privacy}","received_events_url":"https://api.github.com/users/fredrikaverpil/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/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Execution%20Module","name":"Execution Module","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Expected%20Behavior","name":"Expected Behavior","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"}],"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":2915,"closed_issues":3369,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-02-25T22:06:54Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-02-09T15:45:38Z","updated_at":"2016-02-26T05:15:06Z","closed_at":null,"body":"I downloaded win_service.py into my 2015.8.5 installation:\r\n\r\n    cd /srv/salt/_modules\r\n    wget https://raw.githubusercontent.com/saltstack/salt/develop/salt/modules/win_service.py\r\n\r\nI then synced and refreshed:\r\n\r\n    salt '*' saltutil.sync_modules # this shows that the new module is being synced\r\n    salt '*' saltutil.refresh_modules\r\n\r\nWhen checking, the module was not listed:\r\n\r\n    salt '*' sys.list_functions # this does not show the win_service module\r\n\r\nHowever, the module worked (it is mapped onto `services`), whereas before it did not exist:\r\n\r\n    salt '*' service.available name='SENS' # returned True\r\n    "},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/189117738","html_url":"https://github.com/saltstack/salt/issues/31043#issuecomment-189117738","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31043","id":189117738,"user":{"login":"fredrikaverpil","id":994357,"avatar_url":"https://avatars.githubusercontent.com/u/994357?v=3","gravatar_id":"","url":"https://api.github.com/users/fredrikaverpil","html_url":"https://github.com/fredrikaverpil","followers_url":"https://api.github.com/users/fredrikaverpil/followers","following_url":"https://api.github.com/users/fredrikaverpil/following{/other_user}","gists_url":"https://api.github.com/users/fredrikaverpil/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrikaverpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrikaverpil/subscriptions","organizations_url":"https://api.github.com/users/fredrikaverpil/orgs","repos_url":"https://api.github.com/users/fredrikaverpil/repos","events_url":"https://api.github.com/users/fredrikaverpil/events{/privacy}","received_events_url":"https://api.github.com/users/fredrikaverpil/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T05:15:06Z","updated_at":"2016-02-26T05:15:06Z","body":"> Were you expecting it to show up as win_service? \r\n\r\nYes, I was.\r\n\r\nOkay, I see. Since I can see `service` listed, I guess this is not a bug then. "}}