madscience 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cheffile +2 -4
- data/Cheffile.lock +5 -5
- data/lib/madscience/version.rb +1 -1
- data/site-cookbooks/madscience-vagrant-cookbook/recipes/default.rb +7 -0
- data/uninstall.sh +4 -0
- metadata +12 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81b78f241b1f3390ed92838068d7582d0419999
|
4
|
+
data.tar.gz: a7a77710f4d907c9974b3b2e71ff4c16e6198c23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64070b4dff5ff58cba9da2dbba01c62246faa4cdadeca2f65e1538650c23bdeacfa7f63aa1523c9d6eca4753d619048e7bc95768198522d5719bd31215f2cc4
|
7
|
+
data.tar.gz: 30578d620404c790bad162b71d6511b3e0096eafe3796c8659afde4bacf21f61052d2ab36fac2203d6838d031800b7e47c42f97a656fad86002a4bb34e896d16
|
data/Cheffile
CHANGED
@@ -3,9 +3,7 @@
|
|
3
3
|
|
4
4
|
site 'https://community.opscode.com/api/v1'
|
5
5
|
|
6
|
-
# TODO: lock down Vagrant and VirtualBox cookbooks at specific release version
|
7
|
-
|
8
6
|
cookbook 'vagrant',
|
9
|
-
:git => 'https://github.com/noahgibbs/vagrant-cookbook'
|
7
|
+
:git => 'https://github.com/noahgibbs/vagrant-cookbook', :ref => "v0.0.29"
|
10
8
|
cookbook 'virtualbox',
|
11
|
-
:git => 'https://github.com/noahgibbs/virtualbox-cookbook'
|
9
|
+
:git => 'https://github.com/noahgibbs/virtualbox-cookbook', :ref => "v0.0.29"
|
data/Cheffile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
SITE
|
2
|
-
remote:
|
2
|
+
remote: https://community.opscode.com/api/v1
|
3
3
|
specs:
|
4
|
-
apt (2.
|
4
|
+
apt (2.7.0)
|
5
5
|
chef_handler (1.1.6)
|
6
6
|
dmg (2.2.2)
|
7
7
|
windows (1.36.6)
|
8
8
|
chef_handler (>= 0.0.0)
|
9
|
-
yum (3.5.
|
9
|
+
yum (3.5.4)
|
10
10
|
|
11
11
|
GIT
|
12
12
|
remote: https://github.com/noahgibbs/vagrant-cookbook
|
13
|
-
ref:
|
13
|
+
ref: v0.0.29
|
14
14
|
sha: 802fccf8d451a48e302e08e82441795d9833c175
|
15
15
|
specs:
|
16
16
|
vagrant (0.2.2)
|
@@ -19,7 +19,7 @@ GIT
|
|
19
19
|
|
20
20
|
GIT
|
21
21
|
remote: https://github.com/noahgibbs/virtualbox-cookbook
|
22
|
-
ref:
|
22
|
+
ref: v0.0.29
|
23
23
|
sha: 5336d572b061f72a7130c9031930b3cbbfc00456
|
24
24
|
specs:
|
25
25
|
virtualbox (0.7.2)
|
data/lib/madscience/version.rb
CHANGED
@@ -22,6 +22,9 @@ node.default['vagrant']['plugins'] = [
|
|
22
22
|
{ 'name' => 'vagrant-host-shell', 'version' => '0.0.4' },
|
23
23
|
]
|
24
24
|
|
25
|
+
# This will install (only) user plugins under this user's home dir
|
26
|
+
node.default['vagrant']['user'] = ENV['SUDO_USER'] || ENV['USER'] || "root"
|
27
|
+
|
25
28
|
case node['platform_family']
|
26
29
|
when 'fedora'
|
27
30
|
if node['kernel']['machine'] == 'x86_64'
|
@@ -111,6 +114,10 @@ end
|
|
111
114
|
#
|
112
115
|
# vagrant plugin install vagrant-whatever-plugin --plugin-version 1.2.3
|
113
116
|
|
117
|
+
# What's weirdest about this is that the cookbook just installs
|
118
|
+
# plugins via "vagrant plugin install". And it doesn't occur
|
119
|
+
# repeatably on the same machine.
|
120
|
+
|
114
121
|
ruby_block "See if Vagrant plugins just didn't install" do
|
115
122
|
ALL_PLUGINS = node.default['vagrant']['plugins'].map { |row| row['name'] }
|
116
123
|
block do
|
data/uninstall.sh
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
sudo rm -rf /usr/bin/vagrant /opt/vagrant /Applications/Vagrant
|
3
3
|
sudo pkgutil --forget com.vagrant.vagrant
|
4
4
|
|
5
|
+
# Remove root's vagrant dir and current user's vagrant dir
|
6
|
+
sudo rm -rf /var/root/.vagrant.d
|
7
|
+
rm -rf ~/.vagrant.d
|
8
|
+
|
5
9
|
# And this should uninstall VirtualBox. Script copied from
|
6
10
|
# VirtualBox DMG uninstaller.
|
7
11
|
./VirtualBox_Uninstall.tool --unattended
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: madscience
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Gibbs
|
@@ -172,14 +172,25 @@ files:
|
|
172
172
|
- TODO
|
173
173
|
- VirtualBox_Uninstall.tool
|
174
174
|
- bin/madscience
|
175
|
+
- cookbooks/apt/Berksfile
|
176
|
+
- cookbooks/apt/Berksfile.lock
|
175
177
|
- cookbooks/apt/CHANGELOG.md
|
178
|
+
- cookbooks/apt/CONTRIBUTING
|
179
|
+
- cookbooks/apt/Gemfile
|
180
|
+
- cookbooks/apt/Gemfile.lock
|
181
|
+
- cookbooks/apt/Guardfile
|
182
|
+
- cookbooks/apt/LICENSE
|
176
183
|
- cookbooks/apt/README.md
|
184
|
+
- cookbooks/apt/Rakefile
|
185
|
+
- cookbooks/apt/TESTING.md
|
177
186
|
- cookbooks/apt/attributes/default.rb
|
187
|
+
- cookbooks/apt/files/default/15update-stamp
|
178
188
|
- cookbooks/apt/files/default/apt-proxy-v2.conf
|
179
189
|
- cookbooks/apt/libraries/helpers.rb
|
180
190
|
- cookbooks/apt/libraries/matchers.rb
|
181
191
|
- cookbooks/apt/libraries/network.rb
|
182
192
|
- cookbooks/apt/metadata.json
|
193
|
+
- cookbooks/apt/metadata.rb
|
183
194
|
- cookbooks/apt/providers/preference.rb
|
184
195
|
- cookbooks/apt/providers/repository.rb
|
185
196
|
- cookbooks/apt/recipes/cacher-client.rb
|