opendeploy

Module to manage opendeploy installations
Nicholas Anderson

Nicholas Anderson

wafture

6,129 downloads

6,129 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
released Jul 3rd 2019
This version is compatible with:
  • RedHat
    ,
    CentOS

Start using this module

Documentation

wafture/opendeploy — version 0.1.0 Jul 3rd 2019

puppet-opendeploy

travis-cs status

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with opendeploy
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Module Description

The opendeploy module installs, configures, and manages the OpenDeploy service for each respective run mode.

This module manages the installation of OpenDeploy.

Setup

Beginning with opendeploy

To install a base server with the default options:

class { '::opendeploy::base':
  source_url =>
  'http://example.com/path/to/IWOVOpenDeployBaseServer.Linux.8.1.0.tar.gz',
}

To customize options, such as the install directory or to enable event reporting, you must also pass the appropriate parameters:

class { '::opendeploy::base':
  source_url             =>
  'http://example.com/path/to/IWOVOpenDeployBaseServer.Linux.8.1.0.tar.gz',
  install_dir            => '/usr/od-home',
  enable_event_reporting => 'y',
}

Note: when working with any of the modes, the sourceurl paramter _is required. This should be the location to the tarball provided by the vendor.

Usage

Interaction for each of the server run modes is done via opendeploy::<MODE>. To install the receiver, use opendeploy::receiver. To install an admin, use opendeploy::admin.

Create a Base server

To create a base server with custom port mappings:

class { '::opendeploy::base':
  source_url     =>
  'http://example.com/path/to/IWOVOpenDeployBaseServer.Linux.8.1.0.tar.gz',
  registry_port  => 9175,
  listening_port => 20015,
}

Create a Receiver server

To create a receiver server with custom port mappings:

class { '::opendeploy::receiver':
  source_url     =>
  'http://example.com/path/to/IWOVOpenDeployRcvrServer.Linux.8.1.0.tar.gz',
  registry_port  => 9175,
  listening_port => 20015,
}

Reference

Classes

Public classes

Private classes

  • opendeploy::base::install: Installs OpenDeploy Base.
  • opendeploy::base::service: Manages service.
  • opendeploy::base::packages: Installs package dependencies for OpenDeploy.
  • opendeploy::base::skeleton: Creates appropriate directories for installation.
  • opendeploy::receiver::install: Installs OpenDeploy Receiver.
  • opendeploy::receiver::service: Manages service.
  • opendeploy::receiver::packages: Installs package dependencies for OpenDeploy.
  • opendeploy::receiver::skeleton: Creates appropriate directories for installation.

Parameters

opendeploy::base

source_url

HTTP GETable location of the vendor install tarball.

This is a required parameter.

install_dir

Location, as a fully qualified path, on the filesystem to install OpenDeploy.

Using install_dir => '/opt/od-home' will create the following structure:

/opt/od-home
    ├── OpenDeployNG/
        └── <installed files>
    └── odinstall/
        └── <files used to install>

Valid values are valid system paths. Defaults to /opt/od-home.

service_ensure

The status of the service. Valid values are stopped and running. Defaults to running.

registry_port

Defines a custom registry port for OpenDeploy to run on. Valid values are integers. Defaults to 9173.

listening_port

Defines a custom registry port for OpenDeploy to run on. Valid values are integers. Defaults to 20014.

enable_event_reporting

Enables event reporting with the OpenDeploy instance. Valid values are y or n. Default is n.

opendeploy::receiver

source_url

HTTP GETable location of the vendor install tarball.

This is a required parameter.

install_dir

Location, as a fully qualified path, on the filesystem to install OpenDeploy.

Using install_dir => '/opt/od-home' will create the following structure:

/opt/od-home
    ├── OpenDeployNG/
        └── <installed files>
    └── odinstall/
        └── <files used to install>

Valid values are valid system paths. Defaults to /opt/od-home.

service_ensure

The status of the service. Valid values are stopped and running. Defaults to running.

registry_port

Defines a custom registry port for OpenDeploy to run on. Valid values are integers. Defaults to 9173.

listening_port

Defines a custom registry port for OpenDeploy to run on. Valid values are integers. Defaults to 20014.

enable_event_reporting

Enables event reporting with the OpenDeploy instance. Valid values are y or n. Default is n.

Limitations

This module has been tested on:

  • RedHat Enterprise Linux 6, 7
  • CentOS 6, 7

Testing on other platforms is nonsensical as the vendor only supports the above systems

Development

See something you want to improve? Fork, clone, work, commit, and PR. Yay OSS!

Authors

This module was created and maintained by Nick Anderson.