updating box with puppet modules, and updated vagrant api

This commit is contained in:
Tommy Parnell
2014-05-28 00:47:16 -04:00
parent 1842c2e007
commit 220141cdbe
8 changed files with 33 additions and 20 deletions

View File

@@ -1 +1 @@
1395191110
1.5:c1c2530a-458f-4ba2-a351-f5cd1f0b4cfa

View File

@@ -1 +1 @@
1395191066
1401252377

View File

@@ -1 +1 @@
8839498c-bd4b-40ac-a06e-ab448d12cec9
c1c2530a-458f-4ba2-a351-f5cd1f0b4cfa

19
Vagrantfile vendored
View File

@@ -1,19 +1,20 @@
box = 'dev'
url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
hostname = 'dev'
ram = '8192'
ram = '4028'
VAGRANTFILE_API_VERSION = "2"
Vagrant::Config.run do |config|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = box
config.vm.box_url = url
config.vm.host_name = hostname
config.vm.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram
]
config.vm.provider "virtualbox" do |v|
v.memory = ram
v.cpus = 2
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = 'puppet/manifests'
puppet.manifest_file = 'site.pp'

View File

@@ -1 +1,3 @@
include baseconfig
include devPackages
include ubuntuDesktop

View File

@@ -17,12 +17,4 @@ class baseconfig {
mode => '0644',
source => 'puppet:///modules/baseconfig/bashrc';
}
package { "gdm": ensure => "installed"}
package { "ubuntu-desktop": ensure => "installed"}
package { "ruby": ensure => "installed"}
package { "nodejs": ensure => "installed"}
package { "irssi": ensure => "installed"}
package { "git": ensure => "installed"}
package { "tmux": ensure => "installed"}
}

View File

@@ -0,0 +1,9 @@
class devPackages {
$Packages = ['cowsay', 'ruby', 'nodejs', 'irssi', 'git']
package { "DevPackages":
name=>$Packages,
ensure => "installed"
}
}

View File

@@ -0,0 +1,9 @@
class ubuntuDesktop {
$UbuntuDesktop = ['gdm', 'ubuntu-desktop']
package { "UbuntuDesktopPackages" :
name=>$UbuntuDesktop,
ensure => "installed"
}
}