vagrant-guests-clearlinux 1.0.13 → 1.0.14

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
  SHA256:
3
- metadata.gz: 30dc7c93caef4c8a8f363b649eeec799018b0f2af419e23e965b4281f5c5523f
4
- data.tar.gz: 3745a374bcc078ac4b30a1c7f41bc4679a4f8b70fc44588b43b14b5837849cda
3
+ metadata.gz: 7da2e19f3a6d02f4e42e5d90221000c9ba6bddac07ad0bc35304f6de205a48ba
4
+ data.tar.gz: 82274e24f25ac380531a9b42898c5a97092190acebc0ec47f0e6927e62c456dd
5
5
  SHA512:
6
- metadata.gz: b7693a426b1b6c71351c66973630ecebdaea448dadaade4f10c6e689a1390e7c8a1d5656e635263c3b55480b1e7f7d4aa6985da34bbce341de49dbb0e20270fd
7
- data.tar.gz: 37ce7811d256a75ba1d2231c01770fe3d0f9f589d54fbc6fb83208ca2e55dcda3879d1dd24f74acf107beccf53b4781ea8c237ba7e3da36cb7aacc484fccdb21
6
+ metadata.gz: 376fb9fdbf38a3e8df7fdc49a9e02fa2bc9fcb7160a7626e8c24cf7f3a53152522c1c113b1eb752540fca5de6e2dc0b9292b068ff744fdf7dd641b640857bca2
7
+ data.tar.gz: 844f5ff7ac26cd7e9a585c9e08642bb150f2b9afff9c538e72c96c3e062697d857bc09df06253603f61e792d260afbffc033dea1e28395dda1f6b149a8540e38
data/Gemfile CHANGED
@@ -6,6 +6,6 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  group :development do
9
- gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git', :tag => 'v2.1.5'
9
+ gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git', :tag => 'v2.2.1'
10
10
  gem 'coveralls', require: true
11
11
  end
data/README.md CHANGED
@@ -17,7 +17,7 @@ To build and install the plugin directly from this repo:
17
17
  ```
18
18
  $ bundle install
19
19
  $ bundle exec rake build
20
- $ vagrant plugin install pkg/vagrant-guests-clearlinux-1.0.13.gem
20
+ $ vagrant plugin install pkg/vagrant-guests-clearlinux-1.0.14.gem
21
21
  ```
22
22
 
23
23
  You can run RSpec with:
@@ -31,7 +31,7 @@ DHCP_NETWORK = <<EOF.freeze
31
31
  Name=%s
32
32
 
33
33
  [Network]
34
- DHCP=yes
34
+ DHCP=ipv4
35
35
  #VAGRANT-END
36
36
  EOF
37
37
 
@@ -0,0 +1,20 @@
1
+ module VagrantPlugins
2
+ module GuestClearLinux
3
+ module Cap
4
+ class NFS
5
+ def self.nfs_client_installed(machine)
6
+ machine.communicate.test("test -x /usr/bin/mount.nfs")
7
+ end
8
+
9
+ def self.nfs_client_install(machine)
10
+ comm = machine.communicate
11
+ comm.sudo([
12
+ "swupd bundle-add storage-utils",
13
+ "systemctl enable rpcbind",
14
+ "systemctl start rpcbind"
15
+ ].join("\n"))
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -23,6 +23,16 @@ module VagrantPlugins
23
23
  require_relative 'cap/configure_networks'
24
24
  Cap::ConfigureNetworks
25
25
  end
26
+
27
+ guest_capability('clearlinux', 'nfs_client_installed') do
28
+ require_relative 'cap/nfs_client'
29
+ Cap::NFS
30
+ end
31
+
32
+ guest_capability('clearlinux', 'nfs_client_install') do
33
+ require_relative 'cap/nfs_client'
34
+ Cap::NFS
35
+ end
26
36
  end
27
37
  end
28
38
  end
@@ -4,6 +4,6 @@
4
4
  module VagrantPlugins
5
5
  # Set version for vagrant-guests-clearlinux gem.
6
6
  module GuestClearLinux
7
- VERSION = '1.0.13'
7
+ VERSION = '1.0.14'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-guests-clearlinux
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - António Meireles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-22 00:00:00.000000000 Z
11
+ date: 2018-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,6 +112,7 @@ files:
112
112
  - lib/vagrant-guests-clearlinux.rb
113
113
  - lib/vagrant-guests-clearlinux/cap/change_host_name.rb
114
114
  - lib/vagrant-guests-clearlinux/cap/configure_networks.rb
115
+ - lib/vagrant-guests-clearlinux/cap/nfs_client.rb
115
116
  - lib/vagrant-guests-clearlinux/guest.rb
116
117
  - lib/vagrant-guests-clearlinux/plugin.rb
117
118
  - lib/vagrant-guests-clearlinux/version.rb
@@ -141,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
142
  version: '0'
142
143
  requirements: []
143
144
  rubyforge_project:
144
- rubygems_version: 2.7.6
145
+ rubygems_version: 2.7.7
145
146
  signing_key:
146
147
  specification_version: 4
147
148
  summary: Clear Linux Guest Plugin for Vagrant