Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. They must be disabled by default
  2. They must be name-based where the Boolean true and the String 'simp' amount to the same action (e.g., the Trevorian type "Stroolean")
  3. They must allow for an ENC or Hiera or straight parameter, since we want maximum module uptake where possible
    1. This will look something like the following

      $manage_firewall = defined($::manage_firewall) ? $::manage_firewall : hiera('manage_firewall',false)
      1. NOTE: the management defaults will be "false" as a safety consideration to Forge users who might try any SIMP module ala carte. However, these parameters will be enabled by default in simp-core, so we're.
      2. QUESTION: Should we make this defined->hiera->default logic a function in simplib? Is that too much trouble/obfuscation?

ParametersEach module willl have the following class parameters in init.pp (when applicable):

  • managesimp_firewall
    • true =  
    manage
    • includes simp-iptables (NOTE: simp-iptables should be renamed for SIMP6) and sets up rules to permit the application
  • simp_logging
    • true = 
  • managesimp_auditd
    • true
  • managesimp_selinux
    • true  = includes simp-selinux (which effectively manages the SELinux enforcement and mode) and configures the SELinux booleans
      • NOTE:  Many SElinux configurations are handled as attributes of native puppet resources.
      •   SIMP. module and are  part of Puppet resources
      • Should one , however, any boolean flipping should probably be done here
  • managesimp_pki
    • true / 'simp' = includes simp-pki and uses pki::copy to distribute PKI certificates to the correct locations
    • false = PKI certificates are not distributed by SIMP; make your own arrangements to get them in place
  • managesimp_tcpwrappers
    • true = includes simp-tcpwrappers and uses tcpwrappers::allow to permit the application to the subnets in $::client_nets

...