rename host plugin (fedora to redhat)

This commit is contained in:
Matthew 2013-10-05 17:40:23 +01:00
parent d1871b5c15
commit b16d56c717
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ require "vagrant"
require Vagrant.source_root.join("plugins/hosts/linux/host")
module VagrantPlugins
module HostFedora
module HostRedHat
class Host < VagrantPlugins::HostLinux::Host
def self.match?
release_file = Pathname.new("/etc/redhat-release")

View File

@ -1,12 +1,12 @@
require "vagrant"
module VagrantPlugins
module HostFedora
module HostRedHat
class Plugin < Vagrant.plugin("2")
name "Fedora host"
description "Fedora host support."
name "Red Hat host"
description "Red Hat host support."
host("fedora") do
host("redhat") do
require File.expand_path("../host", __FILE__)
Host
end