diff --git a/lib/vagrant-lxc/actions.rb b/lib/vagrant-lxc/action.rb similarity index 99% rename from lib/vagrant-lxc/actions.rb rename to lib/vagrant-lxc/action.rb index 5ec962b..30f5178 100644 --- a/lib/vagrant-lxc/actions.rb +++ b/lib/vagrant-lxc/action.rb @@ -2,7 +2,7 @@ module Vagrant module LXC - module Actions + module Action # This action is responsible for reloading the machine, which # brings it down, sucks in new configuration, and brings the # machine back up with the new configuration. diff --git a/lib/vagrant-lxc/provider.rb b/lib/vagrant-lxc/provider.rb index 175d17e..783d6d0 100644 --- a/lib/vagrant-lxc/provider.rb +++ b/lib/vagrant-lxc/provider.rb @@ -1,4 +1,4 @@ -require "vagrant-lxc/actions" +require "vagrant-lxc/action" require "vagrant-lxc/container" require "vagrant-lxc/machine_state" @@ -41,7 +41,7 @@ module Vagrant # given action. action_method = "action_#{name}" # TODO: Rename to singular - return LXC::Actions.send(action_method) if LXC::Actions.respond_to?(action_method) + return LXC::Action.send(action_method) if LXC::Action.respond_to?(action_method) nil end