Forge Home

password

UNKNOWN

11,877 downloads

11,877 latest version

3.4 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.0 (latest)
released Jan 29th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'renttek-password', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add renttek-password
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install renttek-password --version 1.0.0

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

Documentation

renttek/password — version 1.0.0 Jan 29th 2014

PuppetModules - Password

  1. Overview
  2. Module Description
  3. Usage
    1. MySQL-Passwords
    2. Unix-Passwords
      1. MD5
      2. SHA256
      3. SHA512

Overview

The password Module provides some basic password-functions (e.g. for mysql or unix)

Setup

If you want to use some of the password functions, you just have to include the password module

require password

Usage

MySQL-Passwords

mysql() takes only 1 parameter: the password

mysql("string")

Example: mysql("awesome") = *06D133138EE8ED60013C24248B0CF2E9AF77B8AE

Unix passwords

All unix_*-Functions can take 1 or 2 parameters. The first parameter is the Password and the second the Salt If no salt is given, the functions will generate a random string as salt.

MD5

unix_md5() takes only 1 parameter: the password

unix_md5("string")
unix_md5("string", "salt")

Example: unix_md5("awesome", "foobar") = $1$foobar$AA4Ye.Yk/QC.leSZFYiEW0

SHA256

unix_sha256("string")
unix_sha256("string", "salt")

Example: unix_sha256("awesome", "foobar") = $5$foobar$OrS3bd1FjnahOg/UuScBUG19Ceu4K4j05YZMLXoQE0B

SHA512

unix_512("string")
unix_sha512("string", "salt")

Example: unix_sha512("awesome", "foobar") = $6$foobar$4JfKHMVCvHISVZJGuDS2k/.iHRtZxXkbtljXFkkr7VugeF.K6Kdw7m4Fqk4yIqfDQjo2ceA5Npp4dHtZ.0Xnp.


Created with Stackedit (https://stackedit.io)