Permalink
Browse files

vagrant

  • Loading branch information...
0 parents commit d584b960d5a0ea66c026f410c8cffe5e7fdccdbd @jonasb jonasb committed Feb 25, 2012
Showing with 29 additions and 0 deletions.
  1. +6 −0 Vagrantfile
  2. +23 −0 manifests/default.pp
@@ -0,0 +1,6 @@
+Vagrant::Config.run do |config|
+ config.vm.box = 'forskbox'
+ config.vm.box_url = 'http://files.forskningsavd.se/boxes/forskbox.box'
+
+ config.vm.provision :puppet
+end
@@ -0,0 +1,23 @@
+class base {
+ group { 'puppet':
+ ensure => present,
+ }
+ exec { '/usr/bin/apt-get update':
+ alias => "aptgetupdate",
+ }
+ package { ['libtool', 'shtool', 'autoconf', 'git-core', 'pkg-config', 'make', 'gcc', # osmocom deps
+ 'python-software-properties']:
+ ensure => latest,
+ require => Exec['aptgetupdate'],
+ }
+ exec { '/usr/bin/add-apt-repository --yes ppa:bdrung/bsprak && /usr/bin/apt-get update':
+ alias => 'addgnuarmrepo',
+ require => Exec['aptgetupdate'],
+ }
+ package { ['arm-elf-toolchain']:
+ ensure => latest,
+ require => Exec['addgnuarmrepo'],
+ }
+}
+
+include base

0 comments on commit d584b96

Please sign in to comment.