theforeman / foreman_azure_rm

Adds Azure Resource Manager as a compute resource for The Foreman
GNU General Public License v3.0
9 stars 24 forks source link
azurerm foreman foreman-azure foreman-azure-rm foreman-azurerm hacktoberfest

Foreman AzureRm Plugin

Description

foreman_azure_rm adds Microsoft Azure Resource Manager as a Compute Resource for The Foreman

Installation

Bundle (Gem)

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

$ gem 'foreman_azure_rm'

Or simply:

$ echo "gem 'foreman_azure_rm'" > /usr/share/foreman/bundler.d/Gemfile.local.rb

Then run bundle install from the same directory

Package

# yum install tfm-rubygem-foreman_azure_rm

Foreman Installer

# foreman-installer --enable-foreman-plugin-azure

Development Setup

Clone the repo from github:

git clone https://github.com/theforeman/foreman_azure_rm.git

Add the following to bundler.d/Gemfile.local.rb in your Foreman development directory

gem 'foreman_azure_rm', :path => 'path to foreman_azure_rm directory'

Then run bundle install from the same directory

Features

Configuration

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

Choose the Azure Resource Manager provider, and fill in all the fields. You need a Subscription ID, Tenant ID, Client ID and a Client Secret which you can generate from your Microsoft Azure subscription

That's it. You're now ready to create and manage Azure resources in your new Azure Resource Manager Compute Resource. You should see something like this in the Compute Resource page:

Planned Features

Known Limitations

Links