Categories: None [Edit]
ovh-provisioner
OVH::Provisioner
================
Interact with OVH REST API, mainly targeted to manage dedicated servers and
OVH DNS.
Installation
------------
Add this line to your application's Gemfile:
```ruby
gem 'ovh-provisioner'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install ovh-provisioner
Configuration
-------------
The best way to use ovh-provisioner is to create a configuration file
(recommended path: ~/.config/ovh-provisioner.yml) containing your keys and some
general configuration. Then, just launch it to get all commands with their
description.
Example:
```yaml
# All keys can be overriden with cli options
api_url: https://eu.api.ovh.com/1.0
app_key: XXXXXXXXXXXX
app_secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
consumer_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
template: template_name # is be defined in OVH manager when you save a template
use_distrib_kernel: true
ssh-key: 'key_name_to install'
# name_scheme support any variable available as attribute in
# lib/ovh/provisioner/api_object/dedicated_server.rb
# Along with name_domain, it is used to rename (reverse dns) servers
name_scheme: '%{location}-%{flavor_tag}-%{server_id}.%{vrack}'
name_domain: example.com
# example of flavors, you can use any hardware parameters from
# GET /dedicated/server/{serviceName}/specifications/hardware
# to differentiate your flavors
flavors:
EG-16S:
tag: eg16s
hardware:
description: 'Serveur EG-16 - E3-1230v6 - 16GB - SoftRaid 2x450GB NVMe'
EG-32S:
tag: eg32s
hardware:
description: 'Serveur EG-32 - E3-1270v6 - 32GB - SoftRaid 2x450GB NVMe'
EG-64S:
tag: eg64s
hardware:
description: 'Serveur EG-64 - E5-1650v3 - 64GB - SoftRaid 2x450GB NVMe'
```
Development
-----------
After checking out the repo, run `bin/setup` to install dependencies. Then, run
`rake spec` to run the tests. You can also run `bin/console` for an interactive
prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To
release ...
Total
Ranking: 168,611 of 183,477
Downloads: 2,230
Daily
Ranking: 63,432 of 183,470
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | samuel_bernard |