Skip to content

puppet-python fails to run on Ubuntu 12.04 #145

@aidan

Description

@aidan

root@precise64:/home/vagrant# puppet apply /vagrant/manifests/default.pp
Notice: Compiled catalog for precise64 in environment production in 0.01 seconds
Notice: Finished catalog run in 0.03 seconds
root@precise64:/home/vagrant# puppet module install stankevich-python
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└─┬ stankevich-python (v1.7.15)
└── puppetlabs-stdlib (v4.3.2)
root@precise64:/home/vagrant# puppet apply /vagrant/manifests/default.pp
Error: Could not run: Could not retrieve facts for precise64: uninitialized constant Gem

Adding require 'gem' to the start of pip_version.rb python_version.rb virtualenv_version.rb fixed it.

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