vagrant-alpine 0.3.0 → 0.4.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: 6d14a610a33c058c4a2b9d2562da0c44d77d6da7
4
- data.tar.gz: 8a29b732ac12fe585d4126a0bb0779673eacad40
3
+ metadata.gz: 4770dc0e6fc9302bc3f3b0b182f8218348aa2535
4
+ data.tar.gz: f24fec1231b480a8b26843e45d1f2a3a892510bc
5
5
  SHA512:
6
- metadata.gz: 0fcc00f9947f877ba5477700d04834f4e0b756b5a4d6c43bebbe343875de0515a0576664212287c48dfdf75370b0e304c93b1ba75c2925c7707a673fd827c800
7
- data.tar.gz: 8bb43f67931aa0f35fafa96b47867712ed5c843c99dc4a4bf263d2256715ab0cc906ba27a9821bf28827da917db2557dd9aaa901043c1563b09aad3231fc3bb7
6
+ metadata.gz: 108831f205ebb3001d6f86f8578a704b0e7f16adce713e2f6f1c31e89e180fbd05b44a5d299ccc4a4a023649f3abf9a03974e6cbebc952023520d5b2b253abae
7
+ data.tar.gz: 0e22d09d773f0f83361c682568c969e017219c42b694b9bae87dd9585e05b43a061b92f3471ab7a9c3079fb2335a6c2cffb409c052feb1f6319cbcd3a997117b
@@ -1 +1 @@
1
- ruby-2.2.5
1
+ ruby-2.5.1
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  before_install:
3
- - gem uninstall bundler --all --executables
4
- - gem install bundler --version '~> 1.7.0'
3
+ # - gem uninstall bundler --all --executables
4
+ # - gem install bundler --version '~> 1.7.0'
5
5
  # - sudo apt-get update -qq
6
6
  # - sudo apt-get install -qq -y bsdtar
7
7
  # - rvm @global do gem uninstall bundler --all --executables
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # gemspec
4
4
 
5
5
  group :development do
6
- gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git'
6
+ gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git'
7
7
  end
8
8
 
9
9
  group :plugins do
data/README.md CHANGED
@@ -16,6 +16,7 @@ This is a [Vagrant](http://vagrantup.com/) plugin adding support for [Alpine Lin
16
16
 
17
17
  ## Changes
18
18
 
19
+ * v0.4.0 - updates for alpine 3.8+
19
20
  * v0.3.0 - update to fix defunct alpine apk repository in maier/alpine-3.3* boxes so that nfs client will install correctly.
20
21
  * v0.2.0 - add `apk update` and `apk add --upgrade` to nfs client install
21
22
 
@@ -67,7 +67,7 @@ module VagrantPlugins
67
67
  end
68
68
 
69
69
  def update_mailname
70
- sudo('hostname --fqdn > /etc/mailname')
70
+ sudo('hostname -f > /etc/mailname')
71
71
  end
72
72
 
73
73
  def renew_dhcp
@@ -0,0 +1,13 @@
1
+ module VagrantPlugins
2
+ module GuestAlpine
3
+ module Cap
4
+ class SMB
5
+ def self.smb_install(machine)
6
+ machine.communicate.tap do |comm|
7
+ comm.sudo('apk add cifs-utils')
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -48,6 +48,11 @@ module VagrantPlugins
48
48
  require_relative 'cap/rsync'
49
49
  Cap::RSync
50
50
  end
51
+
52
+ guest_capability('alpine', 'smb_install') do
53
+ require_relative 'cap/smb'
54
+ Cap::SMB
55
+ end
51
56
  end
52
57
  end
53
58
  end
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Alpine Linux guest gem + plugin version
3
3
  module GuestAlpine
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-alpine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2018-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -99,6 +99,7 @@ files:
99
99
  - lib/vagrant-alpine/cap/halt.rb
100
100
  - lib/vagrant-alpine/cap/nfs_client.rb
101
101
  - lib/vagrant-alpine/cap/rsync.rb
102
+ - lib/vagrant-alpine/cap/smb.rb
102
103
  - lib/vagrant-alpine/guest.rb
103
104
  - lib/vagrant-alpine/plugin.rb
104
105
  - lib/vagrant-alpine/version.rb
@@ -133,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  version: '0'
134
135
  requirements: []
135
136
  rubyforge_project:
136
- rubygems_version: 2.4.8
137
+ rubygems_version: 2.4.6
137
138
  signing_key:
138
139
  specification_version: 4
139
140
  summary: Enables Vagrant to manage Alpine Linux Guests.