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

Facts cannot be loaded on the first puppet run due to missing rubygems gem #153

Closed
cmeury opened this issue Nov 29, 2014 · 1 comment
Closed

Comments

@cmeury
Copy link

cmeury commented Nov 29, 2014

When puppetizing a new host, the new facts pip_version, virtualenv_version and python_version fail to be loaded because of a missing rubygems gem:

Warning: Could not load fact file /var/lib/puppet/lib/facter/pip_version.rb: no such file to load -- rubygems
Warning: Could not load fact file /var/lib/puppet/lib/facter/virtualenv_version.rb: no such file to load -- rubygems
Warning: Could not load fact file /var/lib/puppet/lib/facter/python_version.rb: no such file to load -- rubygems

Requiring rubygems was introduced with #146.

On the second puppet run, the warnings disappear because the gem is installed.

@cmeury
Copy link
Author

cmeury commented Nov 30, 2014

Thanks a lot @shivapoudel

@voxpupuli voxpupuli locked and limited conversation to collaborators Nov 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants