Check-in [76111d2c4c]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | - Add Vagrantfile + puppet manifest to help me much more easily test on centos and debian. - purge old test files not used anymore |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | v0.4.32 |
| Files: | files | file ages | folders |
| SHA1: |
76111d2c4c976345bc81394f84e1995b |
| User & Date: | jls@semicomplete.com 2013-04-09 05:58:21 |
Context
|
2013-04-09
| ||
| 07:28 | - add brettg check-in: c7dfd98d0a user: jls@semicomplete.com tags: trunk | |
| 05:58 | - Add Vagrantfile + puppet manifest to help me much more easily test on centos and debian. - purge old test files not used anymore check-in: 76111d2c4c user: jls@semicomplete.com tags: trunk, v0.4.32 | |
| 05:27 | - version bump check-in: d4e1dae880 user: jls@semicomplete.com tags: trunk | |
Changes
Added Vagrantfile.
> > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
config.vm.define "centos6" do |centos6|
centos6.vm.box = "centos6"
centos6.vm.box_url = "http://vagrant-jls.objects.dreamhost.com/CentOS-6.4-x86_64-minimal.box"
end
config.vm.define "debian6" do |centos6|
centos6.vm.box = "debian6"
centos6.vm.box_url = "http://vagrant-jls.objects.dreamhost.com/Debian-6.0.7-amd64-netboot.box"
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "test"
puppet.manifest_file = "vagrant.pp"
end
end
|
Deleted test/all.rb.
|
| < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted test/docs.rb.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted test/testing.rb.
|
| < < < < < < < < < < < < < < |
Deleted test/tmp/.gitignore.
Added test/vagrant.pp.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
case $operatingsystem {
centos, redhat, fedora: {
$pkgupdate = "yum clean all"
$devsuffix = "devel"
}
debian, ubuntu: {
$pkgupdate = "apt-get update"
$devsuffix = "dev"
}
}
exec {
"update-packages":
command => $pkgupdate,
path => [ "/bin", "/usr/bin", "/sbin", "/usr/sbin" ];
}
file {
# Sometimes veewee leaves behind this...
"/EMPTY": ensure => absent;
}
package {
"git": ensure => latest;
"bundler": provider => "gem", ensure => latest;
"ruby-$devsuffix": ensure => latest;
}
File["/EMPTY"] -> Exec["update-packages"] -> Package <| |>
|