Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1932 from lmorchard/vagrant-box-update
Browse files Browse the repository at this point in the history
Issue #1909: Use rebuilt VM image for VirtualBox
  • Loading branch information
groovecoder committed Jan 30, 2014
2 parents 46d4093 + cbc7acf commit f412c98
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
1 change: 1 addition & 0 deletions puppet/files/home/vagrant/bash_profile
Expand Up @@ -8,6 +8,7 @@ fi
# User specific environment and startup programs
PATH=$HOME/bin:/home/vagrant/src/kumascript/node_modules/.bin:$PATH
export PATH
export NODE_PATH=/usr/local/lib/node_modules

# More useful to start in the project directory than in user home
cd /home/vagrant/src
7 changes: 0 additions & 7 deletions puppet/manifests/classes/basics.pp
@@ -1,10 +1,3 @@
# Make sure the repos get updated
class update_repos {
exec { "apt-update":
command => '/usr/bin/apt-get update'
}
}

# Get apache up and running
class apache {
package { [ "apache2" ]:
Expand Down
8 changes: 3 additions & 5 deletions puppet/manifests/classes/nodejs.pp
Expand Up @@ -29,11 +29,9 @@
source => "/home/vagrant/src/puppet/files/usr/share/npm/npmrc",
require => Package["npm"]
}
exec { 'npm-install':
cwd => "/home/vagrant/src/kumascript",
user => 'vagrant',
command => "/usr/bin/npm install fibers",
creates => "/home/vagrant/src/kumascript/node_modules/fibers",
exec { 'npm-fibers-install':
command => "/usr/bin/npm install -g fibers@0.6.4",
creates => "/usr/local/lib/node_modules/fibers",
require => [
Package["nodejs"], Package["nodejs-dev"], Package["npm"],
File["/usr/include/node"], File["/root/.npm"],
Expand Down
2 changes: 0 additions & 2 deletions puppet/manifests/dev-vagrant.pp
Expand Up @@ -31,8 +31,6 @@
class {
dev_hacks: stage => hacks;

update_repos: stage => pre;

dev_tools: stage => tools;

apache: stage => basics;
Expand Down
2 changes: 1 addition & 1 deletion vagrantconfig.yaml
Expand Up @@ -9,7 +9,7 @@ ip_address: 192.168.10.55
memory_size: 768
number_cpus: 2
box: "kuma-ubuntu"
virtual_box_url: "http://people.mozilla.com/~jleidel/vagrant/kuma-precise-virtualbox.box"
virtual_box_url: "http://people.mozilla.org/~lorchard/vm/kuma-ubuntu-20140129.box"
vmware_box_url: "http://people.mozilla.com/~jleidel/vagrant/kuma-precise-vmware.box"
package_name: "kuma-ubuntu.box"
mount_point: "/home/vagrant/src"
Expand Down

0 comments on commit f412c98

Please sign in to comment.