Skip to content

hfm/puppet-embulk

Repository files navigation

puppet-embulk

Build Status Puppet Forge Puppet Forge

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with embulk
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Overview

Manage installation of embulk/embulk and its plugins with Puppet on CentOS.

Setup

puppet module install hfm-embulk

or using rodjek/librarian-puppet:

mod 'hfm-embulk'

and execute librarian-puppet install.

Used modules

Usage

Installation of embulk

include ::embulk

# Default latest version
class { '::embulk': }

# Or you can specify the version of embulk.
class { '::embulk':
  ensure => '0.8.1',
}

# Or you can specify the user of embulk.
class { '::embulk':
  user => 'embulk_user',
}

Installation of embulk plugins

Using embulk gem command to install embulk plugins like the following:

include ::embulk

::embulk::plugin {
  # Enable to use an array
  [
    'embulk-parser-ltsv',
    'embulk-filter-insert',
  ]:
    ensure => present;

  # You can use latest to be up-to-date version.
  # Default to present.
  'embulk-output-bigquery':
    ensure => latest;
}

Limitations

Tested on:

  • CentOS 5.11
  • CentOS 6.6
  • CentOS 7.2.1511
  • Ubuntu 14.04
  • Ubuntu 12.04
  • Debian 8
  • Debian 7
  • Debian 6