Forge Home

env

A puppet module to provide a Redhat shell style for Debian/Ubuntu/Mint

10,920 downloads

10,474 latest version

2.0 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

  • 1.0.2 (latest)
  • 1.0.1
  • 1.0.0
released Jan 14th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'leonardothibes-env', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add leonardothibes-env
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install leonardothibes-env --version 1.0.2

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
Tags: debian, ubuntu, mint, env, ps1

Documentation

leonardothibes/env — version 1.0.2 Jan 14th 2014

puppet-env

A puppet module to provide a Redhat shell style for Debian/Ubuntu/Mint.

Sample Usage

Install env and use the provided configuration defaults:

node default {
    class {'env':}
}

or

node default {
    include env
}

Install env with prompt to cp/mv/rm commands:

class {'env':
    cp_prompt => true,
    mv_prompt => true,
    rm_prompt => true,
}

Clearing screen on logout:

class {'env':
    clear_on_logout => true,
}

Installing utils and creating directories in user's homes:

class {'env':
    dirs_in_home => ['tmp','workspace'],
    utils        => ['subversion','git'],
}

Creating links in user's homes:

class {'env':
    link_in_home => ['workspace=/vagrant','www=/srv/www'],
}

Creating aliases to some commands:

class {'env':
    aliases => ["phing=clear ; phing","phpunit=clear ; phpunit"],
}

Contact

Principal developer: Leonardo Thibes => eu@leonardothibes.com

Support

Please log tickets and issues at our Projects site