Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (41 sloc) 2.48 KB

Foreman

Fog::Proxmox

Build Status Maintainability Test Coverage

This is a FOG (>= 1.45.0) module gem to support Proxmox VE (tested with 5.1 and 5.2)

It is intended to satisfy this feature, but Proxmox provider only, and above all this Foreman feature.

It is inspired by the great fog-openstack module.

Installation

Add this line to your application's Gemfile:

gem 'fog-proxmox'

And then execute:

bundle install --binstubs

Or install it yourself as:

gem install fog-proxmox

Usage

See documentation.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec 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 a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Testing

To record your VCR cassettes:

PVE_URL=https://192.168.56.101:8006/api2/json DISABLE_PROXY=true SSL_VERIFY_PEER=false bundle exec rake spec

To replay your recorded tests:

USE_VCR=true bundle exec rake spec

Contributing

You can reach the contributors. Bug reports and pull requests are welcome on GitHub at Fog-Proxmox. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Please read how to contribute.

License

The gem is available as open source under the terms of the GPL v3 License.

You can’t perform that action at this time.