vagrant/plugins/hosts/redhat/plugin.rb

31 lines
728 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-04-19 01:20:45 -04:00
require "vagrant"
module VagrantPlugins
2013-10-05 12:40:23 -04:00
module HostRedHat
2012-11-07 00:20:22 -05:00
class Plugin < Vagrant.plugin("2")
2015-05-19 06:58:19 -04:00
name "Red Hat Enterprise Linux host"
description "Red Hat Enterprise Linux host support."
2012-04-19 01:20:45 -04:00
2014-01-08 00:11:59 -05:00
host("redhat", "linux") do
2012-05-23 19:03:14 -04:00
require File.expand_path("../host", __FILE__)
Host
end
2014-01-08 00:11:59 -05:00
# Linux-specific helpers we need to determine paths that can
# be overridden.
2014-01-08 00:11:59 -05:00
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 01:20:45 -04:00
end
end
end