Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Error with ensure_packages in install.pp #93

Closed
xaptronic opened this issue Apr 7, 2015 · 1 comment
Closed

Error with ensure_packages in install.pp #93

xaptronic opened this issue Apr 7, 2015 · 1 comment

Comments

@xaptronic
Copy link

Hi,

I get the following error that stems from install.pp:156

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list python' returned 1: Error: No matching Packages to list

I am using make_install => true and running on an amazon ami. I see that all my python packages seem to be named python2.7 instead of just python.

Is there a way to work around this and provide the proper dependency? I realize this may be more of a puppet question than an issue with this module, but I thought I'd start here.

Thanks

@xaptronic
Copy link
Author

FWIW, I determined that this was caused by Amazon AMI python package being named python2.7, so I just added package { "python": name => "python2.7" } to my puppet configuration and now I can use make build.

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

1 participant