extend should be include for TemplateRenderer in caps

This commit is contained in:
Mitchell Hashimoto 2013-04-08 10:47:19 -07:00
parent 2ddefd49a1
commit fd157476b4
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ module VagrantPlugins
module GuestDebian module GuestDebian
module Cap module Cap
class ConfigureNetworks class ConfigureNetworks
extend Vagrant::Util include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
machine.communicate.tap do |comm| machine.communicate.tap do |comm|

View File

@ -7,7 +7,7 @@ module VagrantPlugins
module GuestFedora module GuestFedora
module Cap module Cap
class ConfigureNetworks class ConfigureNetworks
extend Vagrant::Util include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
network_scripts_dir = machine.guest.capability("network_scripts_dir") network_scripts_dir = machine.guest.capability("network_scripts_dir")

View File

@ -6,7 +6,7 @@ module VagrantPlugins
module GuestFreeBSD module GuestFreeBSD
module Cap module Cap
class ConfigureNetworks class ConfigureNetworks
extend Vagrant::Util include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
# Remove any previous network additions to the configuration file. # Remove any previous network additions to the configuration file.

View File

@ -6,7 +6,7 @@ module VagrantPlugins
module GuestFreeBSD module GuestFreeBSD
module Cap module Cap
class ChangeHostName class ChangeHostName
extend Vagrant::Util include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
machine.communicate.tap do |comm| machine.communicate.tap do |comm|

View File

@ -7,7 +7,7 @@ module VagrantPlugins
module GuestRedHat module GuestRedHat
module Cap module Cap
class ConfigureNetworks class ConfigureNetworks
extend Vagrant::Util include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
network_scripts_dir = machine.guest.capability("network_scripts_dir") network_scripts_dir = machine.guest.capability("network_scripts_dir")