{"action":"created","issue":{"url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/306","labels_url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/306/comments","events_url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/306/events","html_url":"https://github.com/rodjek/librarian-puppet/issues/306","id":80355662,"number":306,"title":"Update loop when dependency is specified in Puppetfile and by module","user":{"login":"NoodlesNZ","id":1063979,"avatar_url":"https://avatars.githubusercontent.com/u/1063979?v=3","gravatar_id":"","url":"https://api.github.com/users/NoodlesNZ","html_url":"https://github.com/NoodlesNZ","followers_url":"https://api.github.com/users/NoodlesNZ/followers","following_url":"https://api.github.com/users/NoodlesNZ/following{/other_user}","gists_url":"https://api.github.com/users/NoodlesNZ/gists{/gist_id}","starred_url":"https://api.github.com/users/NoodlesNZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoodlesNZ/subscriptions","organizations_url":"https://api.github.com/users/NoodlesNZ/orgs","repos_url":"https://api.github.com/users/NoodlesNZ/repos","events_url":"https://api.github.com/users/NoodlesNZ/events{/privacy}","received_events_url":"https://api.github.com/users/NoodlesNZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T02:48:12Z","updated_at":"2015-09-11T22:22:50Z","closed_at":null,"body":"I ran into an issue recently where I had puppetlabs-concat in my Puppetfile and it was being required by puppetlabs-haproxy. The HA Proxy module had a setting of:\r\n```\r\n{\"name\":\"puppetlabs/concat\",\"version_requirement\":\">= 1.1.0 < 2.0.0\"}\r\n```\r\nMy Puppetfile was set to:\r\n```\r\nmod 'puppetlabs-concat'\r\n```\r\nThis threw librarian-puppet into an endless loop of trying to resolve the dependencies on puppetlabs-haproxy and install an updated version of puppetlabs-concat. For the time being I resolved this by locking my Puppetfile puppetlabs-concat to version 1.2.2, but librarian-puppet should report on these types of problems and/or crash out of an endless loop"},"comment":{"url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/comments/139675388","html_url":"https://github.com/rodjek/librarian-puppet/issues/306#issuecomment-139675388","issue_url":"https://api.github.com/repos/rodjek/librarian-puppet/issues/306","id":139675388,"user":{"login":"bijanvakili","id":5158112,"avatar_url":"https://avatars.githubusercontent.com/u/5158112?v=3","gravatar_id":"","url":"https://api.github.com/users/bijanvakili","html_url":"https://github.com/bijanvakili","followers_url":"https://api.github.com/users/bijanvakili/followers","following_url":"https://api.github.com/users/bijanvakili/following{/other_user}","gists_url":"https://api.github.com/users/bijanvakili/gists{/gist_id}","starred_url":"https://api.github.com/users/bijanvakili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bijanvakili/subscriptions","organizations_url":"https://api.github.com/users/bijanvakili/orgs","repos_url":"https://api.github.com/users/bijanvakili/repos","events_url":"https://api.github.com/users/bijanvakili/events{/privacy}","received_events_url":"https://api.github.com/users/bijanvakili/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T22:22:49Z","updated_at":"2015-09-11T22:22:49Z","body":"@carlossg \r\nI also ran into this issue with ```librarian-puppet``` v2.2.1:\r\n\r\nMy ```Puppetfile had the following``` amongst a lot of other modules that had no issues:\r\n```\r\nforge \"https://forgeapi.puppetlabs.com\"\r\n\r\nmod 'puppetlabs/concat'\r\nmod 'puppetlabs/haproxy'\r\nmod 'puppetlabs/stdlib'\r\n```\r\n\r\nMy workaround was to:\r\n1) Pin the version of ```puppetlabs/concat``` to 1.2.4 in my ```Puppetfile```\r\n2) Erase my entire modules folder\r\n\r\nI'll probably pin the version of ```stdlib``` too.\r\n\r\nBut overall, I agree with @NoodlesNZ , a better error should be reported by ```librarian-puppet```."}}