Sha256: 9386c9bf89842eec645a983e6ec670c954e52cbd9ae891fb27e390c92271bf0c
Contents?: true
Size: 1005 Bytes
Versions: 4
Compression:
Stored size: 1005 Bytes
Contents
require 'nugrant/vagrant/v2/action' module Nugrant module Vagrant module V2 class Plugin < ::Vagrant.plugin("2") name "Nugrant" description <<-DESC Plugin to define and use user specific parameters from various location inside your Vagrantfile. DESC class << self def provision(hook) hook.before(::Vagrant::Action::Builtin::Provision, Nugrant::Vagrant::V2::Action.auto_export) end end action_hook(:nugrant_provision, :machine_action_up, &method(:provision)) action_hook(:nugrant_provision, :machine_action_reload, &method(:provision)) action_hook(:nugrant_provision, :machine_action_provision, &method(:provision)) command "user" do require_relative "command/root" Command::Root end config "user" do require_relative "config/user" Config::User end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems