[DRE-commits] [vagrant-libvirt] 155/163: fixed whitespace nonconformity

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:57:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.

commit 57c860e884e242a62d70fa4c5a137e138aa92c7d
Author: James Johnson <james.johnson at accuvant.com>
Date:   Mon Apr 13 04:18:59 2015 -0500

    fixed whitespace nonconformity
---
 lib/vagrant-libvirt/cap/nic_mac_addresses.rb | 18 +++++++++---------
 lib/vagrant-libvirt/plugin.rb                |  8 ++++----
 lib/vagrant-libvirt/provider.rb              | 22 +++++++++++-----------
 3 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/lib/vagrant-libvirt/cap/nic_mac_addresses.rb b/lib/vagrant-libvirt/cap/nic_mac_addresses.rb
index 1f083cd..f8f4c5c 100644
--- a/lib/vagrant-libvirt/cap/nic_mac_addresses.rb
+++ b/lib/vagrant-libvirt/cap/nic_mac_addresses.rb
@@ -1,11 +1,11 @@
 module VagrantPlugins
-	module ProviderLibvirt
-		module Cap
-			class NicMacAddresses
-				def self.nic_mac_addresses(machine)
-					machine.provider.mac_addresses
-				end
-			end
-		end
-	end
+  module ProviderLibvirt
+    module Cap
+      class NicMacAddresses
+        def self.nic_mac_addresses(machine)
+          machine.provider.mac_addresses
+        end
+      end
+    end
+  end
 end
diff --git a/lib/vagrant-libvirt/plugin.rb b/lib/vagrant-libvirt/plugin.rb
index 080feb0..18e20ad 100644
--- a/lib/vagrant-libvirt/plugin.rb
+++ b/lib/vagrant-libvirt/plugin.rb
@@ -37,10 +37,10 @@ module VagrantPlugins
         Cap::MountP9
       end
 
-	  provider_capability(:libvirt, :nic_mac_addresses) do
-		require_relative "cap/nic_mac_addresses"
-		Cap::NicMacAddresses
-	  end
+      provider_capability(:libvirt, :nic_mac_addresses) do
+        require_relative "cap/nic_mac_addresses"
+        Cap::NicMacAddresses
+      end
 
       # lower priority than nfs or rsync
       # https://github.com/pradels/vagrant-libvirt/pull/170
diff --git a/lib/vagrant-libvirt/provider.rb b/lib/vagrant-libvirt/provider.rb
index bd98dc2..9420dc2 100644
--- a/lib/vagrant-libvirt/provider.rb
+++ b/lib/vagrant-libvirt/provider.rb
@@ -49,17 +49,17 @@ module VagrantPlugins
         env[:machine_ssh_info]
       end
 
-	  def mac_addresses
-	  	# Run a custom action called "read_mac_addresses" which will return
-		# a list of mac addresses used by the machine. The returned data will
-		# be in the following format:
-		#
-		# {
-		# 	<ADAPTER_ID>: <MAC>
-		# }
-		env = @machine.action('read_mac_addresses')
-		env[:machine_mac_addresses]
-	  end
+      def mac_addresses
+        # Run a custom action called "read_mac_addresses" which will return
+        # a list of mac addresses used by the machine. The returned data will
+        # be in the following format:
+        #
+        # {
+        #   <ADAPTER_ID>: <MAC>
+        # }
+        env = @machine.action('read_mac_addresses')
+        env[:machine_mac_addresses]
+      end
 
       # This should return the state of the machine within this provider.
       # The state must be an instance of {MachineState}.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list