bi_wget

Puppet managed wget

Bounded Infinity

bi

8,165 downloads

7,731 latest version

2.8 quality score

Version information

  • 0.0.8 (latest)
  • 0.0.7
  • 0.0.6
  • 0.0.5
released Jun 3rd 2015
This version is compatible with:
  • Debian
    ,
    RedHat

Start using this module

Documentation

bi/bi_wget — version 0.0.8 Jun 3rd 2015

Table of Contents

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

Overview

This module has two main purposes:

  • Manage the static data associated with the wget package
  • Provide a wrapper around binaries in the wget package that are useful inside Puppet configuration

Module Description

The static data associated with the binaries contained in the wget package are stored in a puppet module data Hiera store. This allows higer level Hiera lookups to override binary paths, configuration files, etc...

Setup

puppet module install -i /path/to/moudles bi-bi_wget

Usage

Consistent static data

To use the statc data (for instance in another class or define):


define my_define() {
    require bi_wget
    ...
    notify ("The wget binary is $bi_wget::$exe_path")
}

This allows an end user a consistent location to obtain the binary paths of executables that will be updated via the module data for each platform (or overridden for custom binaries).

Executable wrappers

The binary wrapper for useful programs contained in wget for example:


define my_define() {
    bi_wget::wget { 'http://mirror.centos.org/centos/6/os/x86_64/RPM-GPG-KEY-CentOS-Debug-6':
        output_document => '/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6-test-2',
        owner => 'vagrant',
        group => 'vagrant',
        mode => '654',
        no_clobber => true,
    }
}

Reference

For more information see the projects wiki

Limitations

Development

For more information see the projects wiki