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.
- data/install-vagrant.sh +6 -2
- data/lib/vagrant-yaybu/provisioner.rb +3 -3
- data/lib/vagrant-yaybu/version.rb +1 -1
- metadata +2 -2
data/install-vagrant.sh
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
#! /bin/bash
|
2
2
|
|
3
|
-
|
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
|
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
|
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
|
+
|
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.
|
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:
|
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:
|