Sha256: 71417704e28b170875c518d233cacd178fc4d1577570cf87c8de511c4e7f271f

Contents?: true

Size: 1.62 KB

Versions: 35

Compression:

Stored size: 1.62 KB

Contents

require "vagrant"

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

      config(:smartos) do
        require_relative "config"
        Config
      end

      guest(:smartos, :solaris)  do
        require_relative "guest"
        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, :insert_public_key) do
        require_relative "cap/insert_public_key"
        Cap::InsertPublicKey
      end

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

      guest_capability(:smartos, :remove_public_key) do
        require_relative "cap/remove_public_key"
        Cap::RemovePublicKey
      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

35 entries across 31 versions & 5 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/guests/smartos/plugin.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.3.3.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.3.2.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.19.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.18.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.16.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.14.0 plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.10.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.9.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.8.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.7.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.6.2 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.6.1 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.6.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.5.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.4.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.3.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.2.2.0 plugins/guests/smartos/plugin.rb