Sha256: 5cf2cd08a3821d892dd974ec201dc9d91144697a260cb17f607529d3a708db49

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.hostname = "foo.example.com"
  config.vm.define "redhat-6-x86_64" do |host|
    host.vm.box = "anandbitra/redhat-6.5"
    host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
    host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "6"
    host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
  end
  config.vm.define "redhat-7-x86_64" do |host|
    host.vm.box = "mrlesmithjr/rhel-7"
    host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
    host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "7"
    host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
  end
  config.vm.define "centos-6-x86_64" do |host|
    host.vm.box = "puppetlabs/centos-6.6-64-nocm"
    host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
    host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "6"
    host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
  end
  config.vm.define "centos-7-x86_64" do |host|
    host.vm.box = "puppetlabs/centos-7.0-64-nocm"
    host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
    host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "7"
    host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simp-rspec-puppet-facts-1.3.0 facts/Vagrantfile