{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/85","labels_url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/85/comments","events_url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/85/events","html_url":"https://github.com/chocolatey/puppet-chocolatey/pull/85","id":107955565,"number":85,"title":"improved module structure","user":{"login":"rchicoli","id":10183963,"avatar_url":"https://avatars.githubusercontent.com/u/10183963?v=3","gravatar_id":"","url":"https://api.github.com/users/rchicoli","html_url":"https://github.com/rchicoli","followers_url":"https://api.github.com/users/rchicoli/followers","following_url":"https://api.github.com/users/rchicoli/following{/other_user}","gists_url":"https://api.github.com/users/rchicoli/gists{/gist_id}","starred_url":"https://api.github.com/users/rchicoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchicoli/subscriptions","organizations_url":"https://api.github.com/users/rchicoli/orgs","repos_url":"https://api.github.com/users/rchicoli/repos","events_url":"https://api.github.com/users/rchicoli/events{/privacy}","received_events_url":"https://api.github.com/users/rchicoli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-23T16:17:02Z","updated_at":"2015-09-23T16:45:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/pulls/85","html_url":"https://github.com/chocolatey/puppet-chocolatey/pull/85","diff_url":"https://github.com/chocolatey/puppet-chocolatey/pull/85.diff","patch_url":"https://github.com/chocolatey/puppet-chocolatey/pull/85.patch"},"body":"After facing following error message I decided to improve the module code.\r\n```\r\nError: Could not retrieve catalog from remote server: Error 400 on SERVER: undef\r\nined method `ref' for nil:NilClass on node sysadmin-win7.regis24.de\r\nWarning: Not using cache on failed catalog\r\nError: Could not retrieve catalog; skipping run\r\n```\r\nNow it works like a charm. Give a try on a real Windows machine.\r\n\r\nI made some changes based on puppetlabs-ntp module structure\r\nThe reason is that on a real environment I couldn't install chocolatey with a simple command\r\n```include chocolatey```\r\nNow it is possible to do so"},"comment":{"url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/comments/142658609","html_url":"https://github.com/chocolatey/puppet-chocolatey/pull/85#issuecomment-142658609","issue_url":"https://api.github.com/repos/chocolatey/puppet-chocolatey/issues/85","id":142658609,"user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T16:45:11Z","updated_at":"2015-09-23T16:45:11Z","body":"@rchicoli FWIW this works fine already. What version of Puppet are you using with your Windows agents?"}}