{"action":"created","issue":{"url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/33","labels_url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/33/comments","events_url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/33/events","html_url":"https://github.com/unibet/puppet-forge-server/issues/33","id":117144874,"number":33,"title":"`puppet module search` doesn't give a correct list","user":{"login":"flaf","id":3391748,"avatar_url":"https://avatars.githubusercontent.com/u/3391748?v=3","gravatar_id":"","url":"https://api.github.com/users/flaf","html_url":"https://github.com/flaf","followers_url":"https://api.github.com/users/flaf/followers","following_url":"https://api.github.com/users/flaf/following{/other_user}","gists_url":"https://api.github.com/users/flaf/gists{/gist_id}","starred_url":"https://api.github.com/users/flaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaf/subscriptions","organizations_url":"https://api.github.com/users/flaf/orgs","repos_url":"https://api.github.com/users/flaf/repos","events_url":"https://api.github.com/users/flaf/events{/privacy}","received_events_url":"https://api.github.com/users/flaf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unibet/puppet-forge-server/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-16T15:09:26Z","updated_at":"2015-11-23T21:42:47Z","closed_at":null,"body":"Hi,\r\n\r\nI have installed puppet-forge-server version commit == 6f1b224a4e666c754876139f3643b22f3515f5e6 and I have this inconsistent behavior explained below.\r\n\r\nFirst, my puppet 4 server uses my local puppet-forge-server, and it seems that the module jippi-php exists:\r\n\r\n```sh\r\n~# puppet module search php\r\nNotice: Searching http://puppetforge.lss1.backbone.education:8080 ...\r\nNAME        DESCRIPTION                                  AUTHOR       KEYWORDS\r\njippi-php    Puppet module to manage PHP...     @jippi            php\r\n\r\n[...]\r\n```\r\n\r\nBut in fact, this module doesn't exist in my local puppetforge and in https://forgeapi.puppetlabs.com too.\r\n\r\n```sh\r\n~# puppet module install jippi-php\r\nNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...\r\nNotice: Downloading from http://puppetforge.lss1.backbone.education:8080 ...\r\nError: Could not install 'jippi-php' (latest)\r\n  No releases are available from http://puppetforge.lss1.backbone.education:8080\r\n    Does 'jippi-php' have at least one published release?\r\n```\r\n\r\n\r\nNow, I comment this line in the puppet.conf of my puppet 4 server:\r\n\r\n```conf\r\n#module_repository = http://puppetforge.lss1.backbone.education:8080\r\n```\r\n\r\nNow the puppet 4 server uses https://forgeapi.puppetlabs.com directly:\r\n\r\n```sh\r\n~# puppet module search php \r\nNotice: Searching https://forgeapi.puppetlabs.com ...\r\nNAME        DESCRIPTION                                  AUTHOR       KEYWORDS\r\n```\r\n\r\nNow, the module jippi-php is not listed, and this is the normal behavior because this module really doesn't exist.\r\n\r\nThe problem: why `puppet module search php` tells me the module jippi-php exists when I use my local puppet-forge-server?\r\n\r\nPS: thx for this software very useful for me. This is the first time I notice a problem. ;)\r\n"},"comment":{"url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/comments/159074751","html_url":"https://github.com/unibet/puppet-forge-server/issues/33#issuecomment-159074751","issue_url":"https://api.github.com/repos/unibet/puppet-forge-server/issues/33","id":159074751,"user":{"login":"i11","id":1918919,"avatar_url":"https://avatars.githubusercontent.com/u/1918919?v=3","gravatar_id":"","url":"https://api.github.com/users/i11","html_url":"https://github.com/i11","followers_url":"https://api.github.com/users/i11/followers","following_url":"https://api.github.com/users/i11/following{/other_user}","gists_url":"https://api.github.com/users/i11/gists{/gist_id}","starred_url":"https://api.github.com/users/i11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i11/subscriptions","organizations_url":"https://api.github.com/users/i11/orgs","repos_url":"https://api.github.com/users/i11/repos","events_url":"https://api.github.com/users/i11/events{/privacy}","received_events_url":"https://api.github.com/users/i11/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T21:42:47Z","updated_at":"2015-11-23T21:42:47Z","body":"The fix doesn't have any effect on the search results. It just changed the way the author was presented.\r\n\r\nWhat's the content of your private module directory? Local search is file name based, so for example if the module file doesn't contain `flaf` in its name it won't be included in the results.\r\n\r\nCould you please try to test both released 1.8.0 and the latest commit?"}}