Analysis of SIMP 6.4.0 modules that use simplib::passgen()
Description
This article provides a survey of SIMP 6.4.0 modules, documenting which classes can (and cannot) be configured to avoid using the simplib::passgen()
internally.
If you are:
Using SIMP 6.4 (and probably earlier versions of SIMP 6
Want to prevent SIMP modules from internally executing the function
simplib::passgen()
(which requires data in a specific Puppet master’s SIMP Writable environment directory)
This document will help you determine:
If it is possible, given the modules/conditions at your site
What class parameters/hiera data to define
What conditions to avoid
In SIMP 5.0-6.4, it is necessary to avoid the use simplib::passgen()
in order to use control repositories to (safely):
Manage multiple Puppet environments
Scale a SIMP + Puppet environment across multiple Puppet masters
The only function that writes to the SIMP Writable directory used by SIMP modules internally is simplib::passgen()
.
See: SE02: Using hiera-eyaml in the control repo to replace Writeable environment data.
Modules that cannot be configured to avoid simplib::passgen()
under some conditions in SIMP 6.4.0
SIMP module | Conditions when | Code |
---|---|---|
dhcp | Either:
| https://github.com/simp/pupmod-simp-dhcp/blob/6.1.1/manifests/dhcpd.pp#L74 |
simp_apache | Parameter | https://github.com/simp/pupmod-simp-simp_apache/blob/6.2.0/manifests/init.pp#L140 |
simp_gitlab | When the gitlab package is first installed
| https://github.com/simp/pupmod-simp-simp_gitlab/blob/0.4.0/manifests/init.pp#L180 |
tftpboot | When | https://github.com/simp/pupmod-simp-tftpboot/blob/6.2.2/manifests/config.pp |
named | Unavoidable, once |
Modules that can be configured to avoid simplib::passgen()
in SIMP 6.4.0
SIMP module | Configuration to avoid |
---|---|
simp_pki_service |
Note: Both Hash parameters require many other key/value pairs. See: https://github.com/simp/pupmod-simp-simp_pki_service/blob/0.2.0/manifests/init.pp#L30-L69 |
simp_snmpd |
Note: By default, the See: https://github.com/simp/pupmod-simp-simp_snmpd/blob/0.1.2/data/common.yaml#L16-L22 |
rsync |
|
tpm |
|
freeradius |
|
simp |
|
libreswan |
|
tpm2 |
|
krb5 |
|