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.2.0.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.1.4.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.1.2.0 plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.1.1.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.0.4.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.0.3.0 plugins/guests/smartos/plugin.rb
vagrant-aws-detiber-0.7.2.pre.4 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/guests/smartos/plugin.rb
vagrant-aws-detiber-0.7.2.pre.3 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/guests/smartos/plugin.rb
vagrant-aws-detiber-0.7.2.pre.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/guests/smartos/plugin.rb