jordi prats

jordi prats

eyp

6,458 downloads

6,296 latest version

5.0 quality score

Version information

  • 0.1.9 (latest)
  • 0.1.7
  • 0.1.6
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise >= 3.0.0
  • Puppet >= 3.0.0
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    OEL
    ,
    OracleLinux
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

eyp/hari — version 0.1.9 Jul 3rd 2019

hari

jordiprats/eyp-hari: Build Status

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference
  6. Limitations
  7. Development

Overview

Hello World puppet module on asteroids

Module Description

module to be able to create files on a system using a given content or using a concat file

Setup

What hari affects

  • creates files on specified locations

Beginning with hari

create a file

class { 'hari':
  file    => '/hello.world.txt',
  content => 'hello world',
}

create additional files:

hari::file { '/.hari.file1':
  content => 'hello world',
}

hari::file { '/.hari.file2':
  content => 'hello world',
}

create additional files using concat:

hari::concatfile { 'hari3':
  file => '/.hari.file3',
}

hari::concatfile { 'hari4':
  file => '/.hari.file4',
}

hari::concatfile_fragment { 'base hari3':
  file => '/.hari.file3'
}

hari::concatfile_fragment { 'base hari4':
  file => '/.hari.file4',
}

hari::concatfile_fragment { 'extra hari 3':
  file => '/.hari.file3',
  content => 'someone else was HERE',
  fragment_name => 'extra',
}

hari::concatfile_fragment { 'extra hari 4':
  file => '/.hari.file4',
  content => 'someone else that wasnt HERE',
  fragment_name => 'extra',
}

Usage

TODO

Reference

TODO

Limitations

Tested on:

  • CentOS 6

But should work anywhere

Development

We are pushing to have acceptance testing in place, so any new feature should have some test to check both presence and absence of any feature