plugins/guests/redhat/plugin.rb in vagrant-registration-0.0.17 vs plugins/guests/redhat/plugin.rb in vagrant-registration-0.0.18

- old
+ new

@@ -1,10 +1,15 @@ require "vagrant" module VagrantPlugins module GuestRedHat class Plugin < Vagrant.plugin("2") + guest_capability("redhat", "registration_registered?") do + require_relative "cap/registration" + Cap::Registration + end + guest_capability("redhat", "registration_register") do require_relative "cap/registration" Cap::Registration end @@ -32,9 +37,14 @@ require_relative "cap/registration" Cap::Registration end guest_capability("redhat", "subscription_manager") do + require_relative "cap/subscription_manager" + Cap::SubscriptionManager + end + + guest_capability("redhat", "subscription_manager_registered?") do require_relative "cap/subscription_manager" Cap::SubscriptionManager end guest_capability("redhat", "subscription_manager_register") do