- Overview
- Setup - The basics of getting started with dns
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Install SoftHSM and manage security tokens
- installs and manages softhsm2
- puppetlabs-stdlib 4.17.0
- icann-tea 0.2.12
install either package with no token
class { '::softhsm': }
Add a new token
softhsm::token { 'test'
pin => '1111',
so_pin => '1111',
}
you can also pass tokens directly to the class
class {'::softhsm':
tokens => {
'test' => {
'pin' => '1111',
'so_pin' => '1111',
},
},
}
Or via hiera
softhsm::tokens:
test:
pin: 1111
so_pin: 1111
package
(String, Default: 'softhsm2'): The SoftHSM package to installconf_file
(Stdlib::Absolutepath, Default: '/etc/softhsm/softhsm2.conf'): the location of the lof filetokendir
(Stdlib::Absolutepath, Default: '/var/lib/softhsm/tokens/'): the location of the tokens directoryobjectstore_backend
(Enum['file','db'], Default: 'file'): how to stor objectslog_level
(Tea::Syslog_level, Default: 'info'): Syslog level to usetokens
(Hash[String, Softhsm::Token], Default: {}): tokens to configure$user
(String, Default: 'root'): owner of the token directory and its sub-directories$group
(String, Default: 'root'): group owner of the token directory and its sub-directories
pin
(Pattern[/\d{4,255}/]): user pin to configureso_pin
(Pattern[/\d{4,255}/]): security office pin to configure
This module has been tested on:
- Ubuntu 12.04, 14.04
- FreeBSD 10
Pull requests welcome but please also update documentation and tests.