Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ branch:  cross package maker


Artifact Content

Artifact 9405b793616a99d804d6eee7cbd8d588389c8e98:

  • File test/vagrant.pp — part of check-in [ac2c689e97] at 2014-03-08 14:53:35 on branch trunk — There shouldn't be an `/EMPTY` file. If there is then the box should probably be rebuilt correctly. (user: sam.crang size: 538) [more...]

case $operatingsystem {
  centos, redhat, fedora: {
    $pkgupdate = "yum clean all"
    $devsuffix = "devel"
  }
  debian, ubuntu: {
    $pkgupdate = "apt-get update"
    $devsuffix = "dev"
    package {
      "lintian": ensure => latest
    }
  }
}

exec {
  "update-packages":
    command => $pkgupdate,
    path => [ "/bin", "/usr/bin", "/sbin", "/usr/sbin" ];
}

package {
  "git": ensure => latest;
  "bundler": provider => "gem", ensure => latest;
  "ruby-$devsuffix": ensure => latest;
}

Exec["update-packages"] -> Package <| |>