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 +4 -4
- data/.gitignore +1 -0
- data/README.md +18 -0
- data/lib/vagrant-alpine/cap/nfs_client.rb +2 -1
- data/lib/vagrant-alpine/version.rb +1 -1
- data/spec/cap/nfs_client_spec.rb +2 -1
- data/vagrant-alpine.gemspec +6 -2
- metadata +12 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b77360cdf5d0e0e945e11d866c7073f752fb463
|
4
|
+
data.tar.gz: b09281278ca8975edfbed0d1c9b25449479b03d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f664e85353ae6a736411c818d0fa8a8dfdc602dbce5e07f3d2ae4da1cb2ccc063852b05298732a94937f5c60f0184fc0a0753179cb9e7c3cb0dd41f905d15c77
|
7
|
+
data.tar.gz: 349b72d2eafa633b979b5bb4f48c88e3312abdea6895fe9119e8553bb85f521f31c2d265257f8614e00982b37cc5f7aed720f20b59adb1b5bbb4413c8c3e7925
|
data/.gitignore
CHANGED
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
|
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
|
data/spec/cap/nfs_client_spec.rb
CHANGED
@@ -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
|
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
|
|
data/vagrant-alpine.gemspec
CHANGED
@@ -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 =
|
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.
|
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-
|
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:
|
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: []
|