Forge Home

72,486 downloads

13,460 latest version

3.5 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.0.10 (latest)
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.4
  • 0.0.3
  • 0.0.2
released May 10th 2017

Start using this module

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

Add this module to your Puppetfile:

mod 'kayak-r9util', '0.0.10'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kayak-r9util
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kayak-r9util --version 0.0.10

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

kayak/r9util — version 0.0.10 May 10th 2017

r9util

Build Status

This module contains miscellaneous utilities for use in KAYAK's Puppet modules.

Types

r9util::java_properties

Set properties in Java properties files with augeas. Uses Craig Dunn's Properties augeas lens.

r9util::download

Download a file with wget.

r9util::system_user

Bundles Puppet's user and group types together for convenience.

gcs_download

Can be used to download files from Google Cloud Storage. For example:

gcs_download { '/where/to/download/the.file':
  bucket      => 'bucket',
  remote_path => 'path/within/bucket/to/the.file'
}

Functions

r9deep_merge

Deep merging of data structures consisting of nested hashes and arrays. Offers several types of array merges.

predictable_pretty_json

Renders predictable pretty JSON under Ruby 1.8.7 by sorting hashes by key before printing results.