Forge Home

env

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

11,014 downloads

10,548 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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