Sha256: 507eef487e2d25ddbbbac27c2ae70ab05f3ef1fd8a9d8683df4316cc427a5294
Contents?: true
Size: 877 Bytes
Versions: 26
Compression:
Stored size: 877 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 or macOS and share them to guest machines. EOF config("smb") do require_relative "config" Config end 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
26 entries across 22 versions & 3 rubygems