dev/modules/sysconfig/manifests/packages.pp
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Fri, 21 Nov 2014 14:19:20 +0100
changeset 1 83d266c0c832
parent 0 54f4e0f9d636
child 12 8ca7be41e3ca
permissions -rw-r--r--
Initial commit (this time I'll push) + added checks if the authenticated user has write access to categories repo + added try except blocks around github api request

class sysconfig::packages {

  $catedit_pkgs = [
      'python-dev',
      'python-setuptools',
      'libpq-dev',
      'libjpeg8-dev',
      'libxslt-dev',
      'libxml2',
      'mercurial'
  ]
  
  package { $catedit_pkgs: ensure => "installed" }

  #upgrade setuptools
  exec { '/usr/bin/easy_install --upgrade setuptools': require => Package[$catedit_pkgs]}

  
}