Sha256: 523072f55a3f361489d3d2232d285a09315b87911708264a67e858c4bc422f3d

Contents?: true

Size: 785 Bytes

Versions: 27

Compression:

Stored size: 785 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module SyncedFolderSMB
    autoload :Errors, File.expand_path("../errors", __FILE__)

    # This plugin implements SMB synced folders.
    class Plugin < Vagrant.plugin("2")
      name "SMB synced folders"
      description <<-EOF
      The SMB synced folders plugin enables you to use SMB folders on
      Windows and share them to guest machines.
      EOF

      synced_folder("smb", 7) do
        require_relative "synced_folder"
        init!
        SyncedFolder
      end

      protected

      def self.init!
        return if defined?(@_init)
        I18n.load_path << File.expand_path(
          "templates/locales/synced_folder_smb.yml", Vagrant.source_root)
        I18n.reload!
        @_init = true
      end
    end
  end
end

Version data entries

27 entries across 24 versions & 5 rubygems

Version Path
vagrant-unbundled-2.0.1.0 plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.22 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-f3fdbf414272/plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.16 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-1ee58c40e3f5/plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-2.0.0.1 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.9.8.1 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.9.7.1 plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/synced_folders/smb/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.9.5.1 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.9.1.1 plugins/synced_folders/smb/plugin.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/synced_folders/smb/plugin.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/synced_folders/smb/plugin.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/synced_folders/smb/plugin.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.8.5.2 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.8.5.1 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.8.4.2 plugins/synced_folders/smb/plugin.rb
vagrant-unbundled-1.8.4.1 plugins/synced_folders/smb/plugin.rb