1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-31 04:20:42 +02:00
fpm/test/vagrant.pp
Sam Crang 190e9081c1 There shouldn't be an /EMPTY file.
If there is then the box should probably be rebuilt correctly.
2014-03-08 14:53:35 +00:00

28 lines
538 B
Puppet

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 <| |>