{"action":"created","issue":{"url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/1","labels_url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/1/comments","events_url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/1/events","html_url":"https://github.com/ocastle/puppet-win_service/issues/1","id":86619555,"number":1,"title":"Module fails on first run ","user":{"login":"damojobuck","id":12815314,"avatar_url":"https://avatars.githubusercontent.com/u/12815314?v=3","gravatar_id":"","url":"https://api.github.com/users/damojobuck","html_url":"https://github.com/damojobuck","followers_url":"https://api.github.com/users/damojobuck/followers","following_url":"https://api.github.com/users/damojobuck/following{/other_user}","gists_url":"https://api.github.com/users/damojobuck/gists{/gist_id}","starred_url":"https://api.github.com/users/damojobuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damojobuck/subscriptions","organizations_url":"https://api.github.com/users/damojobuck/orgs","repos_url":"https://api.github.com/users/damojobuck/repos","events_url":"https://api.github.com/users/damojobuck/events{/privacy}","received_events_url":"https://api.github.com/users/damojobuck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T14:31:57Z","updated_at":"2015-06-09T15:25:06Z","closed_at":null,"body":"Receive the following error when calling the module for the first time. It runs successfully on subsequent runs. \r\n\r\nError: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/win_service: Could not autoload puppet/provider/win_service/win32: no such file to load -- win32/service on node <node-name>\r\nWarning: Not using cacahe on failed catalog\r\nError: Could not retrieve catalog: skipping run"},"comment":{"url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/comments/110401800","html_url":"https://github.com/ocastle/puppet-win_service/issues/1#issuecomment-110401800","issue_url":"https://api.github.com/repos/ocastle/puppet-win_service/issues/1","id":110401800,"user":{"login":"ocastle","id":5332417,"avatar_url":"https://avatars.githubusercontent.com/u/5332417?v=3","gravatar_id":"","url":"https://api.github.com/users/ocastle","html_url":"https://github.com/ocastle","followers_url":"https://api.github.com/users/ocastle/followers","following_url":"https://api.github.com/users/ocastle/following{/other_user}","gists_url":"https://api.github.com/users/ocastle/gists{/gist_id}","starred_url":"https://api.github.com/users/ocastle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocastle/subscriptions","organizations_url":"https://api.github.com/users/ocastle/orgs","repos_url":"https://api.github.com/users/ocastle/repos","events_url":"https://api.github.com/users/ocastle/events{/privacy}","received_events_url":"https://api.github.com/users/ocastle/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T15:25:06Z","updated_at":"2015-06-09T15:25:06Z","body":"Thanks for the feedback, I'll have to do some research on this behavior. I think this is due to the 'win32-service' gem dependency and the providers need to require the gem. That was something i don't believe was originally coded into the provider."}}