vagrant-alpine 0.1.3 → 0.2.0

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: 17c7ad97fa34c0d573e88adccc39ca27891a6ee3
4
- data.tar.gz: 03f59598911a4fb22291a43b57f287e77c95e780
3
+ metadata.gz: 7b77360cdf5d0e0e945e11d866c7073f752fb463
4
+ data.tar.gz: b09281278ca8975edfbed0d1c9b25449479b03d5
5
5
  SHA512:
6
- metadata.gz: 94e2b0cfc413608f96812df4aef1e61505c31778e4e3b5d5050c1fb4f77e6fc812647f5f6b9d96cb8760b07da2f67729bdca8a8b5d38ece139241105cdcfea0f
7
- data.tar.gz: 74d0403d791f7c561a70d73ffb49ab7f4ee7dbcc40e5f762c1be4227146a49d8d188b4a2f7ec32654e5ebabfd5b05d64cb5ce8d2463c1764792188f8790424c6
6
+ metadata.gz: f664e85353ae6a736411c818d0fa8a8dfdc602dbce5e07f3d2ae4da1cb2ccc063852b05298732a94937f5c60f0184fc0a0753179cb9e7c3cb0dd41f905d15c77
7
+ data.tar.gz: 349b72d2eafa633b979b5bb4f48c88e3312abdea6895fe9119e8553bb85f521f31c2d265257f8614e00982b37cc5f7aed720f20b59adb1b5bbb4413c8c3e7925
data/.gitignore CHANGED
@@ -10,4 +10,5 @@
10
10
  Vagrantfile
11
11
  .vagrant
12
12
  TODO.md
13
+ NOTES.md
13
14
 
data/README.md CHANGED
@@ -14,6 +14,10 @@ This is a [Vagrant](http://vagrantup.com/) plugin adding support for [Alpine Lin
14
14
  * RSync detection and installation
15
15
  * NFS client installation
16
16
 
17
+ ## Changes
18
+
19
+ * v0.2.0 - add `apk update` and `apk add --upgrade` to nfs client install
20
+
17
21
  ## Installation
18
22
 
19
23
  ```
@@ -22,7 +26,21 @@ $ vagrant plugin install vagrant-alpine
22
26
 
23
27
  ## Usage
24
28
 
29
+ ```sh
30
+ $ vagrant init maier/alpine-3.3.1-x86_64
31
+ $ vagrant up
25
32
  ```
33
+
34
+ or
35
+
36
+ ```sh
37
+ $ vagrant init maier/alpine-3.2.3-x86_64
38
+ $ vagrant up
39
+ ```
40
+
41
+ or
42
+
43
+ ```sh
26
44
  $ vagrant init maier/alpine-3.1.3-x86_64
27
45
  $ vagrant up
28
46
  ```
@@ -4,7 +4,8 @@ module VagrantPlugins
4
4
  class NFSClient
5
5
  def self.nfs_client_install(machine)
6
6
  machine.communicate.tap do |comm|
7
- comm.sudo('apk add nfs-utils')
7
+ comm.sudo('apk update')
8
+ comm.sudo('apk add --upgrade nfs-utils')
8
9
  comm.sudo('rc-update add rpc.statd')
9
10
  comm.sudo('rc-service rpc.statd start')
10
11
  end
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Alpine Linux guest gem + plugin version
3
3
  module GuestAlpine
4
- VERSION = '0.1.3'
4
+ VERSION = '0.2.0'
5
5
  end
6
6
  end
@@ -17,7 +17,8 @@ describe 'VagrantPlugins::GuestAlpine::Cap::NFSClient' do
17
17
  end
18
18
 
19
19
  it 'should install nfs client' do
20
- communicator.should_receive(:sudo).with('apk add nfs-utils')
20
+ communicator.should_receive(:sudo).with('apk update')
21
+ communicator.should_receive(:sudo).with('apk add --upgrade nfs-utils')
21
22
  communicator.should_receive(:sudo).with('rc-update add rpc.statd')
22
23
  communicator.should_receive(:sudo).with('rc-service rpc.statd start')
23
24
 
@@ -12,10 +12,14 @@ Gem::Specification.new do |spec|
12
12
  spec.email = ['maier@users.noreply.github.com']
13
13
 
14
14
  spec.summary = 'Enables Vagrant to manage Alpine Linux Guests.'
15
- spec.description = 'Enables Vagrant to manage Alpine Linux Guests.'
15
+ spec.description = <<-EOF
16
+ Vagrant support for Alpine Linux Guests.
17
+ Features include: Detection, Set hostname, Configure networking DHCP or static,
18
+ Halt/Shutdown the guest, RSync detection and installation, NFS client installation.
19
+ EOF
16
20
  spec.homepage = 'https://github.com/maier/vagrant-alpine'
17
21
 
18
- spec.add_development_dependency 'rake', '~> 10.4.2'
22
+ spec.add_development_dependency 'rake', '~> 10.4', '>= 10.4.2'
19
23
  spec.add_development_dependency 'rspec-core', '~> 2.14'
20
24
  spec.add_development_dependency 'rspec-expectations', '~> 2.14'
21
25
  spec.add_development_dependency 'rspec-mocks', '~> 2.14'
metadata CHANGED
@@ -1,20 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-alpine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - matt maier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-12 00:00:00.000000000 Z
11
+ date: 2016-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.4'
20
+ - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 10.4.2
20
23
  type: :development
@@ -22,6 +25,9 @@ dependencies:
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '10.4'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 10.4.2
27
33
  - !ruby/object:Gem::Dependency
@@ -66,7 +72,10 @@ dependencies:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
74
  version: '2.14'
69
- description: Enables Vagrant to manage Alpine Linux Guests.
75
+ description: |2
76
+ Vagrant support for Alpine Linux Guests.
77
+ Features include: Detection, Set hostname, Configure networking DHCP or static,
78
+ Halt/Shutdown the guest, RSync detection and installation, NFS client installation.
70
79
  email:
71
80
  - maier@users.noreply.github.com
72
81
  executables: []