voxpupuli/ra10ke

Name: ra10ke

Owner: Vox Pupuli

Description: Rake tasks related to R10K and Puppetfile

Created: 2015-05-16 08:12:34.0

Updated: 2018-04-05 18:03:31.0

Pushed: 2018-04-06 15:24:57.0

Homepage: https://rubygems.org/gems/ra10ke

Size: 34

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ra10ke

Gem Version

Rake tasks related to R10K and Puppetfile.

Usage

Add the following line to your Gemfile:

'ra10ke'

Add the following line in your Rakefile:

ire 'ra10ke'
Rake tasks
r10k:syntax

Syntax check for the Puppetfile. Similar to the r10k puppetfile check command.

r10k:dependencies

This rake task goes through the modules that are declared in the Puppetfile, and prints outdated modules.

Supports:

Ignoring specific modules:

Under specific conditions you may not wish to report on specific modules being out of date, to ignore a module create .r10kignore file in the same directory as your Puppetfile.

r10k:solve_dependencies

Reads the Puppetfile in the current directory and uses the ruby 'solve' library to find missing and outdated dependencies based on their metadata.

The solver does not allow major version bumps according to SemVer by default. To allow major upgrades, call the rake task with any parameter.

The rake task will download git modules into the modules/ directory to access their metadata.json. It will also cache forge metadata in ?$XDG_CACHE_DIR/ra10ke.metadata_cache in order to make subsequent runs faster.

Limitations

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.