vagrant/plugins/hosts/redhat/plugin.rb

28 lines
624 B
Ruby
Raw Normal View History

2012-04-19 05:20:45 +00:00
require "vagrant"
module VagrantPlugins
2013-10-05 16:40:23 +00:00
module HostRedHat
2012-11-07 05:20:22 +00:00
class Plugin < Vagrant.plugin("2")
2013-10-05 16:40:23 +00:00
name "Red Hat host"
description "Red Hat host support."
2012-04-19 05:20:45 +00:00
2014-01-08 05:11:59 +00:00
host("redhat", "linux") do
2012-05-23 23:03:14 +00:00
require File.expand_path("../host", __FILE__)
Host
end
2014-01-08 05:11:59 +00:00
# Linux-specific helpers we need to determine paths that can
# be overriden.
host_capability("redhat", "nfs_check_command") do
require_relative "cap/nfs"
Cap::NFS
end
host_capability("redhat", "nfs_start_command") do
require_relative "cap/nfs"
Cap::NFS
end
2012-04-19 05:20:45 +00:00
end
end
end