vagrant-vyos 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51f11016e3a4dc73842fc1b43e623c0c0b97f2f0
4
- data.tar.gz: 805d6a405747e048d13ae26ef1479be25e7916ce
3
+ metadata.gz: 762b88964d4b233a2288144e3293741e2b53c0b3
4
+ data.tar.gz: 3ae9e5d5d68ebb51429789560287c42a11254f6c
5
5
  SHA512:
6
- metadata.gz: a8954d3b92ba109d47e329fc2bbc42c79a99267a7e4f0ccefbcf28e66cc50c795f38625f0a57f42719bc8f69a1ef84f362e793c0a9b1df2e4617776eac28e949
7
- data.tar.gz: cad0969f1262d2ac92daca5309888b297382e54ee89a6d0f611352dad74c10189f14435fe3ac1f595382fcab6af7e2247ea37c036e7b4f33e47e3f99aeecb7bd
6
+ metadata.gz: 43b480f87e9f67d15d33cc3948c12932fda2c300dca25a269086933d3600a86b2026c268b239600afba04592d35c4b72c63cc1f08acd0ea1201795d554b77de8
7
+ data.tar.gz: 96967ea62cd72179f2e8f1fffc9071f2b8016dcf19bc79e44e7c696ce520a05afad82c53153b9c7ef514b8d3400dffde314bc7418bffd9364e522b212e509316
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # vagrant-vyos
2
2
  [![Build Status](https://travis-ci.org/higebu/vagrant-vyos.png)](https://travis-ci.org/higebu/vagrant-vyos)
3
3
  [![Code Climate](https://codeclimate.com/github/higebu/vagrant-vyos/badges/gpa.svg)](https://codeclimate.com/github/higebu/vagrant-vyos)
4
- [![Gem Version](https://badge.fury.io/rb/vagrant-vyos.png)](http://badge.fury.io/rb/vagrant-vyos)
5
- [![Dependency Status](https://gemnasium.com/higebu/vagrant-vyos.png)](https://gemnasium.com/higebu/vagrant-vyos)
4
+ [![Gem Version](https://badge.fury.io/rb/vagrant-vyos.svg)](https://badge.fury.io/rb/vagrant-vyos)
5
+ [![Dependency Status](https://gemnasium.com/badges/github.com/higebu/vagrant-vyos.svg)](https://gemnasium.com/github.com/higebu/vagrant-vyos)
6
+ [![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/vagrant-vyos?type=total&style=flat)](https://rubygems.org/gems/vagrant-vyos)
6
7
 
7
8
  Vagrant-vyos is a [Vagrant](http://www.vagrantup.com) plugin that adds [VyOS](http://vyos.net/wiki/Main_Page) support to Vagrant.
8
9
 
@@ -9,6 +9,9 @@ module VagrantPlugins
9
9
  if !comm.test("sudo hostname | grep '^#{name}$'")
10
10
 
11
11
  commands = <<-EOS
12
+ if [ "$(id -g -n)" != 'vyattacfg' ] ; then
13
+ exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
14
+ fi
12
15
  source /opt/vyatta/etc/functions/script-template
13
16
  set system host-name #{name}
14
17
  commit
@@ -10,6 +10,9 @@ module VagrantPlugins
10
10
  machine.communicate.tap do |comm|
11
11
 
12
12
  commands = <<-EOS
13
+ if [ "$(id -g -n)" != 'vyattacfg' ] ; then
14
+ exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
15
+ fi
13
16
  source /opt/vyatta/etc/functions/script-template
14
17
  EOS
15
18
 
@@ -8,6 +8,9 @@ module VagrantPlugins
8
8
  key_type, key_value, key_name = contents.split()
9
9
 
10
10
  commands = <<-EOS
11
+ if [ "$(id -g -n)" != 'vyattacfg' ] ; then
12
+ exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
13
+ fi
11
14
  source /opt/vyatta/etc/functions/script-template
12
15
  set system login user vagrant authentication public-keys #{key_name} type #{key_type}
13
16
  set system login user vagrant authentication public-keys #{key_name} key #{key_value}
@@ -8,6 +8,9 @@ module VagrantPlugins
8
8
  key_type, key_value, key_name = contents.split()
9
9
 
10
10
  commands = <<-EOS
11
+ if [ "$(id -g -n)" != 'vyattacfg' ] ; then
12
+ exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
13
+ fi
11
14
  source /opt/vyatta/etc/functions/script-template
12
15
  show system login user vagrant authentication public-keys #{key_name} key | grep #{key_value} || exit 0
13
16
  delete system login user vagrant authentication public-keys #{key_name}
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GuestVyOS
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.required_rubygems_version = ">= 1.3.6"
21
21
  spec.rubyforge_project = "vagrant-vyos"
22
22
 
23
- spec.add_development_dependency "bundler", "= 1.12.5"
23
+ spec.add_development_dependency "bundler", ">= 1.12.5"
24
24
  spec.add_development_dependency "rake"
25
25
  spec.add_development_dependency "rspec-core", "~> 3.4.3"
26
26
  spec.add_development_dependency "rspec-expectations", "~> 3.4.0"
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vyos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KUSAKABE Yuya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-04 00:00:00.000000000 Z
11
+ date: 2017-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.12.5
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.12.5
27
27
  - !ruby/object:Gem::Dependency
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: 1.3.6
112
112
  requirements: []
113
113
  rubyforge_project: vagrant-vyos
114
- rubygems_version: 2.4.5.1
114
+ rubygems_version: 2.5.2
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: A small gem that adds vyos guest support to vagrant.