Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Librarian-puppet package seems to get into an infinite loop #172

Merged
merged 1 commit into from
Feb 7, 2014

Conversation

carlossg
Copy link
Collaborator

I've just started looking into librarian-puppet on CentOS 6, Ruby 1.8.7, and it appears that when running librarian-puppet package it gets into an infinite loop when fetching from puppetforge. I'm fairly new to ruby, but the bit of code it seems to be tripping up on is in lib/librarian/puppet/source/forge.rb, in the vendor_cache function. The while loop which loops over input.read never finishes, as it would seem that without a length argument it returns the whole file each time. This only happens when calling package, install works fine.

carlossg added a commit that referenced this pull request Feb 7, 2014
Librarian-puppet package seems to get into an infinite loop
@carlossg carlossg merged commit 9ba02d6 into master Feb 7, 2014
@carlossg carlossg deleted the issue-172 branch February 8, 2014 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant