Rubrik Module for Puppet

Table of Contents

  1. Description
  2. Setup - The basics of getting started with rubrik
  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

Description

The Rubrik Module for Rubrik supplies an interface into the Rubrik Cloud Data Management configuration as it pertains to Puppet agents.

Setup

Add the module to your Puppetfile

mod 'rubrik',
  :git  =>  'https://github.com/rubrik-devops/rubrik-puppet'

Dependencies

These modules are required :

mod 'maestrodev-wget', '1.7.3'
mod 'puppet-download_file',
  :git  =>  'git@github.com:rubrik-devops/puppet-download_file.git'
mod 'counsyl-windows', '1.0.4'
mod 'puppet_gem'

You will also need to include faraday in your puppet ruby gems

package { 'rubygems':
  ensure => present,
}
package { 'faraday':
  provider => 'puppet_gem',
  require  => Package['rubygems'],
}

What rubrik affects

This module currently enforces SLA Domain membership and installation of connectors for linux and windows kernels.

Usage

Define classes to load in base - Depends on hiera_include('classes')

classes:
    - rubrik
    - rubrik::sla_domain::set
    - rubrik::connector

Hiera - Let's set a base sladomain

rubrik::sla_domain::set: '[your desired rubrik sla domain name]'
rubrik::rubriknode: '[your rubrik node fqdn or ip]'
rubrik::rubrikuser: '[your rubrik user name]'
rubrik::rubrikpass: 'eyaml[your rubrik password]'

Reference

This module will allow facter to interact with the Agent configuration with regard to SLA Domains. It will also allow the Agent to self correct based on the configured SLA Domain in your hiera hierarchy. It will also allow installation of the connector.

Tested On

  • Rubrik v4.1

  • Centos7

  • Windows 2008r2 +

  • Puppet 2016/05

Development

  • Use cases surrounding Disaster Recover Initiatives

Release Notes/Contributors/Etc.