Forge Home

password

UNKNOWN

11,934 downloads

11,934 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.

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.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)