Table of Contents
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
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.
oci_profile module allows an easy way to string all of these resources together.
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.
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)
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
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:
If you want to, you can also skip this provided class:
Or provide your 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.
oci_profile module requires:
Puppet version 4.0 or higher. Can be Puppet Enterprise or Puppet Open Source
A valid Enterprise Modules license for usage.
Runs on most Linux systems.
Installing the oci_profile module
To install these modules, you can use a
mod 'enterprisemodules/oci_profile' ,'0.1.0'
Then use the
r10K to install the software.
You can also install the software using the
puppet module command:
puppet module install enterprisemodules-oci_profile
To get started, include the
oci_profile::configuration class in your role and add resources to your hiera data.
Here you can find some more information regarding this puppet module:
Here are related blog posts:
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.