Code Monkey home page Code Monkey logo

foreman-digitalocean's Introduction

Foreman DigitalOcean Plugin

Code Climate Gem Version Dependency Status

foreman-digitalocean enables provisioning and managing of DigitalOcean droplets in Foreman, all of that under the GPL v3+ license.

Installation

Please see the Foreman manual for appropriate instructions:

Red Hat, CentOS, Fedora, Scientific Linux (rpm)

Set up the repo as explained in the link above, then run

# yum install ruby193-rubygem-foreman_digitalocean

Debian, Ubuntu (deb)

Set up the repo as explained in the link above, then run

# apt-get install ruby-foreman-digitalocean

Bundle (gem)

Add the following to bundler.d/Gemfile.local.rb in your Foreman installation directory (/usr/share/foreman by default)

$ gem 'foreman_digitalocean'

Then run bundle install from the same directory


To verify that the installation was successful, go to Foreman, top bar Administer > About and check 'foreman_digitalocean' shows up in the System Status menu under the Plugins tab.

Compatibility

Foreman Version Plugin Version
<= 1.7.x ~> 0.1.x
>= 1.8.0 ~> 0.2.x
>= 1.11.0 ~> 1.x
>= 1.13.0 ~> 1.1

Configuration

Go to Infrastructure > Compute Resources and click on "New Compute Resource".

Choose the DigitalOcean provider, and fill in all the fields. You need an API token with read and write access, which can be created at the DigitalOcean API section. It will be encrypted in the database.

That's it. You're now ready to create and manage droplets in your new DigitalOcean compute resource.

You should see something like this in the Compute Resource page:

How to contribute?

Generally, follow the Foreman guidelines. For code-related contributions, fork this project and send a pull request with all changes. Some things to keep in mind:

  • Follow the rules about commit message style and create a Redmine issue. Doing this right will help reviewers to get your contribution merged faster.
  • Rubocop will analyze your code, you can run it locally with rake rubocop.
  • All of our pull requests run the full test suite in our Jenkins CI system. Please include tests in your pull requests for any additions or changes in functionality

Latest code

You can get the nightly branch of the plugin by specifying your Gemfile in this way:

gem 'foreman_digitalocean', :git => "https://github.com/theforeman/foreman-digitalocean.git"

License

This project started as a pull request from Tommy McNeely (TJM). It is licensed as GPLv3 since it is a Foreman plugin.

See LICENSE for more details.

foreman-digitalocean's People

Contributors

alexshepherd-hydrant avatar ares avatar dlobatog avatar domcleal avatar gregsutcliffe avatar shlomizadok avatar timogoebel avatar tjm avatar unorthodoxgeek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.