Hi Dave, Am 26.10.2012 20:50, schrieb Dave Mankoff: > Interesting. It sounds like you're actually advocating _for_ the bash > script approach. I wanted to avoid package management systems only because > they are way more complicated than a basic install of python requires: > > wget python.tgz > tar -xzvf python.tgz > cd python > ./configure --prefix=/install/path > make > make test > make install > > I wanted to make (I have made?) a simple "python" class that accepts a > python version number, downloads it, and runs those steps, irrespective of > the base Linux flavor.
Fetch a copy of the Puppet 2.7 Cookbook and read pages 130 and 131, there's a recipe that does exactly what you want. > I don't know much of anything about deb or rpm files > other than that they are more complicated than that; and I don't want to > have to package up and maintain several different python versions for > several different package managers. For deb files it's pretty easy: install "checkinstall" on your desktop, type "checkinstall make install" instead of "make install" and your package is ready to go. The "alien" package comes in handy to from time to time, as it converts .tgz to .deb or .rpm hth -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.