Sha256: 5e883b033396e3cd88e03551446749b5155124a27f4cbce984ff0e44eec7b024

Contents?: true

Size: 1.61 KB

Versions: 11

Compression:

Stored size: 1.61 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)  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

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-unbundled-2.0.2.0 plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.0.1.0 plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.22 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-f3fdbf414272/plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.16 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-1ee58c40e3f5/plugins/guests/smartos/plugin.rb
vagrant-unbundled-2.0.0.1 plugins/guests/smartos/plugin.rb
vagrant-unbundled-1.9.8.1 plugins/guests/smartos/plugin.rb
vagrant-unbundled-1.9.7.1 plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/guests/smartos/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/guests/smartos/plugin.rb