I'm having a problem with a pypi package/the pip provider.

The package name is riak_pb https://pypi.python.org/pypi/riak_pb/.

The problem I'm having is puppet keeps installing/upgrading the package
every run. I suspect it has something to do with the hyphen/underscore.

I have also tried changing the riak_pb package name in the init.pp to
riak-pb. The pypi API doesn't return a version resulting in a nil/null
value for puppet, so it re-installs again.

Here are some relevant details.

Thanks for any help.

puppetclent ~# puppet agent --server=puppet --waitforcert 5 --test --debug
Debug: Executing '/usr/local/bin/pip install -q --upgrade riak_pb'
Notice: /Stage[main]/Mapreduce/Package[riak_pb]/ensure: created
Debug: /Stage[main]/Mapreduce/Package[riak_pb]: The container
Class[Mapreduce] will propagate my refresh event

puppetcilent ~# pip freeze | egrep riak.pb

puppetclient ~# cat
grep Name
Name: riak-pb

puppetserver ~# cat init.pp
     $required_pip_packages = [

     package { $required_pip_packages:
         ensure => latest,
         provider => pip,
         require => Package[$required_deb_packages],

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
postedMay 30, '13 at 6:38a
activeMay 30, '13 at 6:38a

1 user in discussion

Justin: 1 post



site design / logo © 2022 Grokbase