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 Cap
class ConfigureNetworks
extend Vagrant::Util
include Vagrant::Util
def self.configure_networks(machine, networks)
machine.communicate.tap do |comm|

View File

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

View File

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

View File

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

View File

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