Install a source package with puppet


For my server installation i need to wget and compile a source package (geos, GeoIP and py binding). Is there a predefined puppet class to get package sources and compile them?

Best Answer

Have a look at:

Usage example:

netinstall { 'postgis':
  url => '',
  extracted_dir => 'postgis-1.5.5',
  destination_dir => '/tmp',
  postextract_command => '/tmp/postgis-1.5.5/configure && make && sudo make install'