vagrant-repo-configure 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfb1c7953e3d7ac4683a8993ba5e386fcbd1df80
4
- data.tar.gz: c884e714fda62db1421f80e055e7e6508c7e32c6
3
+ metadata.gz: e008643aa3b1bd98eec0e45b0422e25cd87efcee
4
+ data.tar.gz: 468156493b0c3d5d813d51affda072e8808dff8d
5
5
  SHA512:
6
- metadata.gz: 2f74c46377ed2160f3353d2f3f159b7ac8630177f7df2d98cbc18ed8112df433e49b5add666bf04e6778daadb9f8cd67086b0a5944c1083d45f0a8bec7a8617a
7
- data.tar.gz: c9d562e6700dd0e4c445498f9d61514f8e2119765deaddf2ecd371397dfdd66e8919c5dde28ae033204cdb848ec1cfb3b73c33330e0428eb1520aa2220018ef0
6
+ metadata.gz: 504af59f72b4f223c1133908008fc99b8412f2d629b3cf40de51536e7ce0558387233510219af88696e3b46c5c5274404c51969ec0da5c8a320372560b957a2e
7
+ data.tar.gz: 08b9df42651d97771aa99a5a8a28bdb32ac9fad6d07c5dc008c07d7dd49a467fbb82d50a2e2ab48773f65449b990efc3f1fea61c9284e9ecf0bde2a019588675
data/Gemfile.lock CHANGED
@@ -20,7 +20,7 @@ GIT
20
20
  PATH
21
21
  remote: .
22
22
  specs:
23
- vagrant-repo-configure (0.0.3)
23
+ vagrant-repo-configure (0.0.4)
24
24
 
25
25
  GEM
26
26
  remote: https://rubygems.org/
@@ -8,8 +8,9 @@ module Vagrant
8
8
  def call(env)
9
9
  vm = env[:vm] || env[:machine]
10
10
 
11
+ vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
12
+
11
13
  vm.config.repos.apt_lines.each do |line|
12
- vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
13
14
  vm.communicate.sudo("echo #{line} >> /etc/apt/sources.list")
14
15
  env[:ui].info "Added #{line} to sources list"
15
16
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module RepoConfigure
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-repo-configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syntactic Vexation