Moves from Vagrant to VagrantPlugins top-level namespace.
This commit is contained in:
parent
5bf87ee49f
commit
292c7d2444
13 changed files with 15 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
||||||
require_relative 'bucket'
|
require_relative 'bucket'
|
||||||
|
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Action
|
class Action
|
||||||
class Install
|
class Install
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
def self.inherited(base)
|
def self.inherited(base)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
class Apt < Bucket
|
class Apt < Bucket
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
class Gem < Bucket
|
class Gem < Bucket
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
class Pacman < Bucket
|
class Pacman < Bucket
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Bucket
|
class Bucket
|
||||||
class Yum < Bucket
|
class Yum < Bucket
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
module Cap
|
module Cap
|
||||||
module Arch
|
module Arch
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
module Cap
|
module Cap
|
||||||
module Debian
|
module Debian
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
module Cap
|
module Cap
|
||||||
module Linux
|
module Linux
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
module Cap
|
module Cap
|
||||||
module RedHat
|
module RedHat
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Config < Vagrant.plugin(2, :config)
|
class Config < Vagrant.plugin(2, :config)
|
||||||
attr_accessor :scope, :auto_detect
|
attr_accessor :scope, :auto_detect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
class Plugin < Vagrant.plugin('2')
|
class Plugin < Vagrant.plugin('2')
|
||||||
name 'vagrant-cachier'
|
name 'vagrant-cachier'
|
||||||
|
@ -30,14 +30,14 @@ module Vagrant
|
||||||
|
|
||||||
install_action_hook = lambda do |hook|
|
install_action_hook = lambda do |hook|
|
||||||
require_relative 'action'
|
require_relative 'action'
|
||||||
hook.after Vagrant::Action::Builtin::Provision, Vagrant::Cachier::Action::Install
|
hook.after Vagrant::Action::Builtin::Provision, VagrantPlugins::Cachier::Action::Install
|
||||||
end
|
end
|
||||||
action_hook 'set-shared-cache-on-machine-up', :machine_action_up, &install_action_hook
|
action_hook 'set-shared-cache-on-machine-up', :machine_action_up, &install_action_hook
|
||||||
action_hook 'set-shared-cache-on-machine-reload', :machine_action_reload, &install_action_hook
|
action_hook 'set-shared-cache-on-machine-reload', :machine_action_reload, &install_action_hook
|
||||||
|
|
||||||
clean_action_hook = lambda do |hook|
|
clean_action_hook = lambda do |hook|
|
||||||
require_relative 'action'
|
require_relative 'action'
|
||||||
hook.before Vagrant::Action::Builtin::GracefulHalt, Vagrant::Cachier::Action::Clean
|
hook.before Vagrant::Action::Builtin::GracefulHalt, VagrantPlugins::Cachier::Action::Clean
|
||||||
end
|
end
|
||||||
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook
|
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook
|
||||||
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook
|
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Vagrant
|
module VagrantPlugins
|
||||||
module Cachier
|
module Cachier
|
||||||
VERSION = "0.0.6"
|
VERSION = "0.0.6"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue