vagrant-nfs_guest 0.1.7 → 0.1.8

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: 6d1379c8d93def3e1c8415422a423f262b400a4f
4
- data.tar.gz: 1fa184114a1c5cc8dec18f4162a17f3264e82828
3
+ metadata.gz: 198e6a741e26343a7ac6474db914d04870c245f0
4
+ data.tar.gz: db2f73ebbeaf1aee9410ca613734e37a63141d7b
5
5
  SHA512:
6
- metadata.gz: 1c5f0fb3684ae66a003883d266db0bfa0b2f8764262a34d78dc9340a38e267ba02e873684b38bd764d12cc8e4332ed6660ca36ccb63f22f814aace9ff998779b
7
- data.tar.gz: 5eaf6f74d023258a47e76f2ec58f37bee8fa796837dab2d80d72484b2479f27c55b7ba5a140e3c651371f255b5349de12e540a35f82f31ee8cb04a4e322ac5d8
6
+ metadata.gz: 57a3c7615a07b2cae4833833ab61e5b3b7d9687657a52a691a10f9041c4874aea2ba6a1f92d47ed63f35236247dac54778a8fe1b2ce748fa287b9215640baefb
7
+ data.tar.gz: 45b6b20dcfa3f26dd6a9a46a5a51cf23ca2bda38eb3f75eb6cfe9518e6bb8f02d6f44e88996c38fcf49e0240b944b2c915254617595a38ce147e289de36eee75
data/README.md CHANGED
@@ -61,13 +61,16 @@ We use 'chruby' to allow a virtual ruby environment for developement. The 'bundl
61
61
  bundle exec vagrant
62
62
 
63
63
  You can test your handy work using the ```example_box``` by doing the following:
64
+
64
65
  cd ./example_box/
65
66
  bundle exec vagrant up
66
67
 
67
68
  You can ssh into the test VM using:
69
+
68
70
  bundle exec vagrant ssh
69
71
 
70
72
  ... and you can clean up with:
73
+
71
74
  bundle exec vagrant destroy
72
75
 
73
76
 
@@ -5,121 +5,22 @@
5
5
  VAGRANTFILE_API_VERSION = "2"
6
6
 
7
7
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
- # All Vagrant configuration is done here. The most common configuration
9
- # options are documented and commented below. For a complete reference,
10
- # please see the online documentation at vagrantup.com.
11
8
 
12
9
  # Every Vagrant virtual environment requires a box to build off of.
13
- config.vm.box = "ubuntu/trusty64"
14
- #config.vm.box = "centos/7"
15
- #config.vm.box = "puphpet/centos65-x64"
16
-
17
- # The url from where the 'config.vm.box' box will be fetched if it
18
- # doesn't already exist on the user's system.
19
- #config.vm.box_url = ""
20
-
21
- # Create a forwarded port mapping which allows access to a specific port
22
- # within the machine from a port on the host machine. In the example below,
23
- # accessing "localhost:8080" will access port 80 on the guest machine.
24
- # config.vm.network "forwarded_port", guest: 80, host: 8080
10
+ config.vm.box = "ubuntu/trusty64" # ubuntu
11
+ #config.vm.box = "centos/7" # centos/7
12
+ #config.vm.box = "nrel/CentOS-6.5-x86_64" # centos/6.5
25
13
 
26
14
  # Create a private network, which allows host-only access to the machine
27
15
  # using a specific IP.
28
16
  config.vm.network "private_network", ip: "192.168.55.10"
29
17
 
30
- # Create a public network, which generally matched to bridged network.
31
- # Bridged networks make the machine appear as another physical device on
32
- # your network.
33
- # config.vm.network "public_network"
34
-
35
- # If true, then any SSH connections made will enable agent forwarding.
36
- # Default value: false
37
- # config.ssh.forward_agent = true
38
-
39
18
  # Share an additional folder to the guest VM. The first argument is
40
19
  # the path on the host to the actual folder. The second argument is
41
20
  # the path on the guest to mount the folder. And the optional third
42
21
  # argument is a set of non-required options.
43
- # config.vm.synced_folder "../data", "/vagrant_data"
44
22
  config.vm.synced_folder '.', '/vagrant', disabled: true
45
- config.vm.synced_folder './vagrant_share', '/vagrant', type: 'nfs_guest'
46
23
 
47
- # Provider-specific configuration so you can fine-tune various
48
- # backing providers for Vagrant. These expose provider-specific options.
49
- # Example for VirtualBox:
50
- #
51
- # config.vm.provider "virtualbox" do |vb|
52
- # # Don't boot with headless mode
53
- # vb.gui = true
54
- #
55
- # # Use VBoxManage to customize the VM. For example to change memory:
56
- # vb.customize ["modifyvm", :id, "--memory", "1024"]
57
- # end
58
- #
59
- # View the documentation for the provider you're using for more
60
- # information on available options.
61
-
62
- # Enable provisioning with CFEngine. CFEngine Community packages are
63
- # automatically installed. For example, configure the host as a
64
- # policy server and optionally a policy file to run:
65
- #
66
- # config.vm.provision "cfengine" do |cf|
67
- # cf.am_policy_hub = true
68
- # # cf.run_file = "motd.cf"
69
- # end
70
- #
71
- # You can also configure and bootstrap a client to an existing
72
- # policy server:
73
- #
74
- # config.vm.provision "cfengine" do |cf|
75
- # cf.policy_server_address = "10.0.2.15"
76
- # end
77
-
78
- # Enable provisioning with Puppet stand alone. Puppet manifests
79
- # are contained in a directory path relative to this Vagrantfile.
80
- # You will need to create the manifests directory and a manifest in
81
- # the file default.pp in the manifests_path directory.
82
- #
83
- # config.vm.provision "puppet" do |puppet|
84
- # puppet.manifests_path = "manifests"
85
- # puppet.manifest_file = "site.pp"
86
- # end
87
-
88
- # Enable provisioning with chef solo, specifying a cookbooks path, roles
89
- # path, and data_bags path (all relative to this Vagrantfile), and adding
90
- # some recipes and/or roles.
91
- #
92
- # config.vm.provision "chef_solo" do |chef|
93
- # chef.cookbooks_path = "../my-recipes/cookbooks"
94
- # chef.roles_path = "../my-recipes/roles"
95
- # chef.data_bags_path = "../my-recipes/data_bags"
96
- # chef.add_recipe "mysql"
97
- # chef.add_role "web"
98
- #
99
- # # You may also specify custom JSON attributes:
100
- # chef.json = { mysql_password: "foo" }
101
- # end
24
+ config.vm.synced_folder './vagrant_share', '/vagrant', type: 'nfs_guest'
102
25
 
103
- # Enable provisioning with chef server, specifying the chef server URL,
104
- # and the path to the validation key (relative to this Vagrantfile).
105
- #
106
- # The Opscode Platform uses HTTPS. Substitute your organization for
107
- # ORGNAME in the URL and validation key.
108
- #
109
- # If you have your own Chef Server, use the appropriate URL, which may be
110
- # HTTP instead of HTTPS depending on your configuration. Also change the
111
- # validation key to validation.pem.
112
- #
113
- # config.vm.provision "chef_client" do |chef|
114
- # chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
115
- # chef.validation_key_path = "ORGNAME-validator.pem"
116
- # end
117
- #
118
- # If you're using the Opscode platform, your validator client is
119
- # ORGNAME-validator, replacing ORGNAME with your organization name.
120
- #
121
- # If you have your own Chef Server, the default validation client name is
122
- # chef-validator, unless you changed the configuration.
123
- #
124
- # chef.validation_client_name = "ORGNAME-validator"
125
26
  end
@@ -4,8 +4,8 @@ module VagrantPlugins
4
4
  module Cap
5
5
 
6
6
  def self.nfs_settings(machine)
7
- host_ip = @machine.provider.driver.read_shared_interface[:ip]
8
- machine_ip = @machine.provider.driver.read_guest_ip
7
+ host_ip = machine.provider.driver.read_shared_interface[:ip]
8
+ machine_ip = machine.provider.driver.read_guest_ip
9
9
 
10
10
  raise Vagrant::Errors::NFSNoHostonlyNetwork if !host_ip || !machine_ip
11
11
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module SyncedFolderNFSGuest
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-nfs_guest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Garfield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler