vagrant-alpine 0.1.1 → 0.1.3

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: c2fc2915174a868f52ce574bb9af430ac32bdfc3
4
- data.tar.gz: 0716848819f01d49981e4da58430d3d6a015bb94
3
+ metadata.gz: 17c7ad97fa34c0d573e88adccc39ca27891a6ee3
4
+ data.tar.gz: 03f59598911a4fb22291a43b57f287e77c95e780
5
5
  SHA512:
6
- metadata.gz: 4c5693032537c8775b1a0396e01cb26683f25aa992561f3d85c8a154f5f81cf56b25f7ef5d0e90d2817c75500800def2bc8a62f62c3043e213cd4ba697d1ac15
7
- data.tar.gz: bfdd58c7edc571e0de7dd59bbad1fff77b7e0de3dad43e367f920cd71ebb593babda86cd4489a982242a89f5f091703bb9ff6aac53d967eb69ac5f1533ead7a3
6
+ metadata.gz: 94e2b0cfc413608f96812df4aef1e61505c31778e4e3b5d5050c1fb4f77e6fc812647f5f6b9d96cb8760b07da2f67729bdca8a8b5d38ece139241105cdcfea0f
7
+ data.tar.gz: 74d0403d791f7c561a70d73ffb49ab7f4ee7dbcc40e5f762c1be4227146a49d8d188b4a2f7ec32654e5ebabfd5b05d64cb5ce8d2463c1764792188f8790424c6
data/.travis.yml CHANGED
@@ -1,13 +1,15 @@
1
1
  language: ruby
2
- before_install:
3
- - sudo apt-get update -qq
4
- - sudo apt-get install -qq -y bsdtar
5
- - rvm @global do gem uninstall bundler --all --executables
6
- - gem uninstall bundler --all --executables
7
- - gem install bundler --version '< 1.7.0'
2
+ #before_install:
3
+ # - sudo apt-get update -qq
4
+ # - sudo apt-get install -qq -y bsdtar
5
+ # - rvm @global do gem uninstall bundler --all --executables
6
+ # - gem uninstall bundler --all --executables
7
+ # - gem install bundler --version '< 1.7.0'
8
8
  rvm:
9
9
  - 2.2.0
10
10
  env:
11
11
  global:
12
12
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
13
- script: rake
13
+ script:
14
+ - bundle exec rake
15
+ - bundle exec rake build
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- # [Vagrant Alpine Linux Guest](https://github.com/maier/vagrant-alpine)
1
+ # Vagrant Alpine Linux Guest
2
+ [![Gem Version](https://badge.fury.io/rb/vagrant-alpine.svg)](http://badge.fury.io/rb/vagrant-alpine) [![Build Status](https://travis-ci.org/maier/vagrant-alpine.svg?branch=master)](https://travis-ci.org/maier/vagrant-alpine)
2
3
 
3
- This is a [Vagrant](http://vagrantup.com/) plugin adding support for [Alpine Linux](http://alpinelinx.org) guests.
4
+ This is a [Vagrant](http://vagrantup.com/) plugin adding support for [Alpine Linux](http://alpinelinux.org) guests.
4
5
 
5
- > **NOTE:** The vagrant-alpine requires Vagrant 1.7+
6
+ > **NOTE:** The vagrant-alpine plugin requires Vagrant 1.7+
6
7
 
7
8
  ## Features
8
9
 
@@ -22,7 +23,7 @@ $ vagrant plugin install vagrant-alpine
22
23
  ## Usage
23
24
 
24
25
  ```
25
- $ vagrant init maier/alpine-3.1.3
26
+ $ vagrant init maier/alpine-3.1.3-x86_64
26
27
  $ vagrant up
27
28
  ```
28
29
 
@@ -66,5 +67,8 @@ Alpine Linux boxes for testing are available on
66
67
  for building the boxes are in this
67
68
  [GitHub repository](https://github.com/maier/packer-templates/).
68
69
 
70
+ 1. (Atlas)[https://atlas.hashicorp.com/maier/boxes/alpine-3.1.3-x86_64] Alpine 3.1.3 box v1.3.0 is for VirtualBox v5, use box v1.2.0 for VirtualBox v4. The v1.2.0 (built with VirtualBox v4) has intermittent kernel panic when used with VirtualBox v5 and CPUs are set to > 1.
71
+ 2. Alpine 3.2.3 box (built with VirtualBox v5) is available on (Atlas)[https://atlas.hashicorp.com/maier/boxes/alpine-3.2.3-x86_64] now.
72
+
69
73
  Using `VAGRANT_LOG=info`, Vagrant's `--debug` switch, and `vb.gui = true`
70
74
  were all very useful when originally developing this guest plugin.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
- require 'bundler/gem_tasks'
3
+ require 'bundler/gem_helper'
4
4
  require 'rspec/core/rake_task'
5
5
 
6
6
  Bundler::GemHelper.install_tasks
data/Vagrantfile.example CHANGED
@@ -46,4 +46,10 @@ Vagrant.configure(2) do |config|
46
46
  # vb.gui = true
47
47
  end
48
48
 
49
+ # Enabling provisioning - run shell script to upate
50
+ # installed alpine.
51
+ # config.vm.provision 'shell', inline: <<-SHELL
52
+ # apk update && apk upgrade
53
+ # SHELL
54
+
49
55
  end
@@ -12,12 +12,5 @@ module VagrantPlugins
12
12
  # lib_path = Pathname.new(File.expand_path('../vagrant-alpine', __FILE__))
13
13
  # autoload :Action, lib_path.join('action')
14
14
  # autoload :Errors, lib_path.join('errors')
15
-
16
- # This returns the path to the source of this plugin.
17
- #
18
- # @return [Pathname]
19
- def self.source_root
20
- @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
21
- end
22
15
  end
23
16
  end
@@ -6,13 +6,16 @@
6
6
  #
7
7
  require 'set'
8
8
  require 'tempfile'
9
-
9
+ require 'pathname'
10
10
  require 'vagrant/util/template_renderer'
11
11
 
12
12
  module VagrantPlugins
13
13
  module GuestAlpine
14
14
  module Cap
15
15
  class ConfigureNetworks
16
+ def self.source_root
17
+ @source_root ||= Pathname.new(File.expand_path('../../../../', __FILE__))
18
+ end
16
19
  include Vagrant::Util
17
20
  def self.configure_networks(machine, networks)
18
21
  machine.communicate.tap do |comm|
@@ -28,7 +31,7 @@ module VagrantPlugins
28
31
  entries = []
29
32
  networks.each do |network|
30
33
  interfaces.add(network[:interface])
31
- entry = TemplateRenderer.render("guests/alpine/network_#{network[:type]}", { options: network, template_root: GuestAlpine.source_root.join('templates') })
34
+ entry = TemplateRenderer.render("guests/alpine/network_#{network[:type]}", { options: network, template_root: source_root.join('templates') })
32
35
  entries << entry
33
36
  end
34
37
 
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Alpine Linux guest gem + plugin version
3
3
  module GuestAlpine
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
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.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - matt maier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2016-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake