Warning: this is old code. I have this in the ini...
# puppet
u
Warning: this is old code. I have this in the init.pp file of a module:
Copy code
class auditd (
  $audit_rules_file = $::auditd::params::audit_rules_file,
  $logsagent        = $::auditd::params::logsagent,
  $rules            = $::auditd::params::rules,
  $package_name     = $::auditd::params::package_name,
  $restart_cmd      = $::auditd::params::restart_cmd,
  $config_override  = {},
)
I have been able to set
auditd::config_override:
and
auditd::rules:
in hiera, but when I try to set this
auditd::restart_cmd: '/sbin/augenrules --load
, the module still try to use its default falue for
restart_cmd
. Anyone can explain me why?