vagrant-yaybu 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,9 @@
1
1
  #! /bin/bash
2
2
 
3
- bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
3
+ sudo aptitude purge rubygems ruby-rvm
4
+ sudo aptitude install zlib1g-dev # might need earlier version
5
+
6
+ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
4
7
 
5
8
  echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile
6
9
 
@@ -11,5 +14,6 @@ rvm use 1.9.2
11
14
  rvm --default 1.9.2
12
15
 
13
16
  gem update
14
- gem install vagrant vagrant-snap vagrant-yaybu
17
+ gem install vagrant --version 0.8.7
18
+ gem install vagrant-snap vagrant-yaybu
15
19
 
@@ -75,8 +75,6 @@ module Vagrant
75
75
  end
76
76
 
77
77
  class YaybuProvisioner < Base
78
- register :yaybu
79
-
80
78
  class Config < Vagrant::Config::Base
81
79
  attr_accessor :yay
82
80
  attr_accessor :python
@@ -96,7 +94,7 @@ module Vagrant
96
94
  begin
97
95
  ssh.sudo!("which yaybu", :error_class => YaybuError, :_key => :yaybu_not_detected, :binary => "yaybu")
98
96
  rescue
99
- env.ui.info "Yaybu not found so attmpting to install it"
97
+ env.ui.info "Yaybu not found so attempting to install it"
100
98
  ssh.sudo!("apt-get update")
101
99
  ssh.sudo!("apt-get install python-setuptools -y")
102
100
  ssh.sudo!("easy_install Yaybu")
@@ -151,3 +149,5 @@ module Vagrant
151
149
  end
152
150
  end
153
151
 
152
+ Vagrant.provisioners.register(:yaybu) { Vagrant::Provisioners::YaybuProvisioner }
153
+
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Yaybu
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-yaybu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-19 00:00:00.000000000Z
12
+ date: 2012-02-18 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: This plugin adds a Yaybu 'push' provisioner to Vagrant
15
15
  email: