Forge Home

oci_profile

Puppet profiles for Oracle Cloud Infrastructure management

1,020 downloads

1,020 latest version

4.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Nov 15th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'enterprisemodules-oci_profile', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add enterprisemodules-oci_profile
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install enterprisemodules-oci_profile --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

enterprisemodules/oci_profile — version 0.1.0 Nov 15th 2020

Enterprise Modules

Table of Contents

  1. Overview
  2. License
  3. Description - What the module does and why it is useful
  4. Setup
  1. Usage - Configuration options and additional functionality
  2. Reference - An under-the-hood peek at what the module is doing and how
  3. Limitations - OS compatibility, etc.

Overview

The Oracle Cloud Infrastructure (OCI) is an IaaS that delivers on-premise, high-performance computing power to run cloud native and enterprise workloads. You can use Puppet to manage your infrastructure and application resources in the Oracle Cloud Infrastructure. the oci_config module has all of the basic types and providers to manage OCI resources.

The oci_profile module allows an easy way to string all of these resources together.

License

Most of the Enterprise Modules modules are commercial modules. This one is NOT. It is an Open Source module. You are free to use it any way you like.

Description

The oci_profile::config class contains all the Puppet code to install, create and populate an OCI tenancy This class is an easy way to get started. It contains the following steps:

  • tenants (Define the tenant(s))
  • compartments (define the compartments)
  • identity (Define users groups etc.)
  • key_management (Define all key related objects)
  • budget (Define the budgets)
  • network (Define all netweork related OCI objects)
  • block_storage (Define volumes and volume backups)
  • object_storage (Define buckets)
  • file_storage (Define NFS type file storage)
  • instances (Define all instances)
  • vms (Conveniance class to define VM like objects)

All these stages have a default implementation. This implementation is suitable to get started with. These classed all have parameters you can customize through hiera values. The defaults are specified in the module's data/default.yaml file.

But sometimes this is not enough and you would like to add some extra definitions, you can, for example, add a Puppet class to be executed before the network is done. You can do this by adding the next line to your yaml data:

oci_profile::configuration::before_network:   my_profile::my_extra_class

or after:

oci_profile::configuration::after_network:   my_profile::my_extra_class

If you want to, you can also skip this provided class:

oci_profile::configuration::network:   skip

Or provide your own implementation:

oci_profile::configuration::network:   my_profile::my_own_implementation

This mechanism can be used for all named steps and makes it easy to move from an easy setup with a running standard database to a fully customized setup using a lot of your own classes plugged in.

Check here to see the full documentation for this module.

Setup

Requirements

The oci_profile module requires:

Installing the oci_profile module

To install these modules, you can use a Puppetfile

mod 'enterprisemodules/oci_profile'               ,'0.1.0'

Then use the librarian-puppet or r10K to install the software.

You can also install the software using the puppet module command:

puppet module install enterprisemodules-oci_profile

Usage

To get started, include the oci_profile::configuration class in your role and add resources to your hiera data.

Reference

Here you can find some more information regarding this puppet module:

Here are related blog posts:

Limitations

This module only runs on Linux and supports most Linux versions. It requires a puppet version higher than 4. The module does NOT run on windows systems.