Skip to content

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

@cmeury

Description

@cmeury

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions