Vagrant Pushover
This is a Vagrant plugin that add pushover notification function to your Vagrant, allowing Vagrant to push noticate your iOS/Androind. If your provisioning takes too much time, use this plugin and go out to have good :coffee:, you can know when you should go back your seat.
Requirement
- Pushover App
- User key of pushover App
- You can get it from your dashboard
- Application token of pushover App
- You can get it after registering your application
Installation
Install it as a Vagrant plugin.
$ vagrant plugin install vagrant-pushover
Usage
Add configuration in your Vagrantfile. You must set token
and user
.
Vagrant.configure("2") do |config|
config.pushover.set do |p|
p.token = "YOUR APP TOKEN"
p.user = "YOUR KEY"
end
end
Nofication is not send unless add this configuration. You can set other parameters here, check pushover API documentation here.
When notification is sent
Notification is sent in below cases.
vagrant up
- When machine is not yet provisioned.
- Current machine state is not running.
vagrant up --provision
vagrant reload --provision
vagrant provision
Contributing
- Fork it ( http://github.com/
/vagrant-pushover/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request