plugins/guests/redhat/plugin.rb in vagrant-registration-1.0.1 vs plugins/guests/redhat/plugin.rb in vagrant-registration-1.1.0
- old
+ new
@@ -57,11 +57,11 @@
require_relative 'cap/subscription_manager'
Cap::SubscriptionManager
end
guest_capability('redhat', 'subscription_manager_upload_certificate') do
- require_relative "cap/subscription_manager"
+ require_relative 'cap/subscription_manager'
Cap::SubscriptionManager
end
guest_capability('redhat', 'subscription_manager_unregister') do
require_relative 'cap/subscription_manager'
@@ -79,9 +79,44 @@
end
guest_capability('redhat', 'subscription_manager_secrets') do
require_relative 'cap/subscription_manager'
Cap::SubscriptionManager
+ end
+
+ guest_capability('redhat', 'rhn_register') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_registered?') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_register') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_unregister') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_credentials') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_options') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
+ end
+
+ guest_capability('redhat', 'rhn_register_secrets') do
+ require_relative 'cap/rhn_register'
+ Cap::RhnRegister
end
end
end
end