From b16d56c71760cd76e16e669abdfba6d386a81829 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 5 Oct 2013 17:40:23 +0100 Subject: [PATCH] rename host plugin (fedora to redhat) --- plugins/hosts/{fedora => redhat}/host.rb | 2 +- plugins/hosts/{fedora => redhat}/plugin.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename plugins/hosts/{fedora => redhat}/host.rb (98%) rename plugins/hosts/{fedora => redhat}/plugin.rb (61%) diff --git a/plugins/hosts/fedora/host.rb b/plugins/hosts/redhat/host.rb similarity index 98% rename from plugins/hosts/fedora/host.rb rename to plugins/hosts/redhat/host.rb index ec7501633..ba8df2761 100644 --- a/plugins/hosts/fedora/host.rb +++ b/plugins/hosts/redhat/host.rb @@ -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") diff --git a/plugins/hosts/fedora/plugin.rb b/plugins/hosts/redhat/plugin.rb similarity index 61% rename from plugins/hosts/fedora/plugin.rb rename to plugins/hosts/redhat/plugin.rb index 430b13708..f35a2a7c8 100644 --- a/plugins/hosts/fedora/plugin.rb +++ b/plugins/hosts/redhat/plugin.rb @@ -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