Get rid of some outdated TODOs

This commit is contained in:
Mitchell Hashimoto 2010-07-26 08:56:55 -07:00
parent 1cbc60de1c
commit 3848a2dd52
5 changed files with 2 additions and 8 deletions

View File

@ -10,7 +10,6 @@ module Vagrant
class HTTP < Base
def self.match?(uri)
# URI.parse barfs on '<drive letter>:\\files \on\ windows'
# TODO temprorary
extracted = URI.extract(uri).first
extracted && extracted.include?(uri)
end

View File

@ -53,8 +53,6 @@ module Vagrant
logger.info "Running chef-client..."
vm.ssh.execute do |ssh|
ssh.exec!(command) do |channel, type, data|
# TODO: Very verbose. It would be easier to save the data and only show it during
# an error, or when verbosity level is set high
if type == :exit_status
ssh.check_exit_status(data, command)
else

View File

@ -42,8 +42,6 @@ module Vagrant
logger.info "Running chef-solo..."
vm.ssh.execute do |ssh|
ssh.exec!(command) do |channel, type, data|
# TODO: Very verbose. It would be easier to save the data and only show it during
# an error, or when verbosity level is set high
ssh.check_exit_status(data, command) if type == :exit_status
logger.info("#{data}: #{type}") if type != :exit_status
end

View File

@ -107,10 +107,9 @@ module Vagrant
# Checks the file permissions for the private key, resetting them
# if needed, or on failure erroring.
def check_key_permissions(key_path)
# Windows systems don't have this issue
return if Mario::Platform.windows?
# TODO: This only works on unix based systems for now. Windows
# systems will need to be investigated further.
stat = File.stat(key_path)
if stat.owned? && file_perms(key_path) != "600"

View File

@ -2,5 +2,5 @@ module Vagrant
# This will always be up to date with the current version of Vagrant,
# since it is used to generate the gemspec and is also the source of
# the version for `vagrant -v`
VERSION = "0.4.3.dev"
VERSION = "0.5.0"
end