Sha256: 936e13b206cc49a657c3ef840f8707fc8ccdd4011c0754631acf41d2bdd09e21

Contents?: true

Size: 1.39 KB

Versions: 9

Compression:

Stored size: 1.39 KB

Contents

require "vagrant"

module VagrantPlugins
  module GuestSmartos
    class Plugin < Vagrant.plugin("2")
      name "SmartOS guest."
      description "SmartOS guest support."

      config("smartos") do
        require File.expand_path("../config", __FILE__)
        Config
      end

      guest("smartos")  do
        require File.expand_path("../guest", __FILE__)
        Guest
      end

      guest_capability("smartos", "change_host_name") do
        require_relative "cap/change_host_name"
        Cap::ChangeHostName
      end

      guest_capability("smartos", "configure_networks") do
        require_relative "cap/configure_networks"
        Cap::ConfigureNetworks
      end

      guest_capability("smartos", "halt") do
        require_relative "cap/halt"
        Cap::Halt
      end

      guest_capability("smartos", "mount_nfs_folder") do
        require_relative "cap/mount_nfs"
        Cap::MountNFS
      end

      guest_capability("smartos", "rsync_installed") do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability("smartos", "rsync_command") do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability("smartos", "rsync_post") do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability("smartos", "rsync_pre") do
        require_relative "cap/rsync"
        Cap::RSync
      end
    end
  end
end

Version data entries

9 entries across 6 versions & 3 rubygems

Version Path
vagrant-unbundled-1.8.4.2 plugins/guests/smartos/plugin.rb
vagrant-unbundled-1.8.4.1 plugins/guests/smartos/plugin.rb
vagrant-unbundled-1.8.1.2 plugins/guests/smartos/plugin.rb
vagrant-unbundled-1.8.1.1 plugins/guests/smartos/plugin.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/guests/smartos/plugin.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/guests/smartos/plugin.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/guests/smartos/plugin.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/guests/smartos/plugin.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/guests/smartos/plugin.rb