Skip to content

Integrate with hiera #1

Description

@cardil

Options are:

  • counter - A sequential password number. Changing the password should be done by
    advancing this number. Default value is 1.
  • scope - A definition of scope that the password will be generated from. Defaults to alnum.
  • length - A length of password to be generated in number of signs. Default value is 16.

All options described above can also be set via Hiera. To do this define a key that is
created by adding a password name and suffix of ::counter, ::scope, or ::length. Ex.:

root@puppet.example.org::counter: 13
root@puppet.example.org::scope: alnum
root@puppet.example.org::length: 32

You can specify a counter both in Puppet code and in Hiera. Specifying scope or length,
in both places isn't supported and will result in compilation error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions