lita-atlantic-net
lita-atlantic-net is a handler plugin for Lita that interacts with Atlantic.net.
Installation
Add lita-atlantic-net to your Lita instance's Gemfile:
gem "lita-atlantic-net"
Configuration
Required attributes
-
access_key
(String) - The access key for your Atlantic.net acccount. -
private_key
(String) - The private key for your Atlantic.net acccount.
Example
Lita.configure do |config|
config.handlers.atlantic_net.access_key = "<your atlantic.net access key>"
config.handlers.atlantic_net.private_key = "<your atlantic.net private key>"
end
Usage
In order to use the Atlantic.net handler commands, you must ensure that the user running the commands is in the :atlantic_net_admins group.
List Instances
To list the instances associated with your atlantic.net account:
Lita: atlantic instances
Reboot Instance
To reboot an instance associated with your atlantic.net account:
Lita: atlantic reboot INSTANCE_ID