Skip to content

Rename legacy_config defined type and class #160

Open
@dhollinger

Description

@dhollinger

What this module refers to as "legacy_config" is actually what Rsyslog refers to as the basic syslog configuration.

Vote for renaming this to match the rsyslog documentation.

example of what Rsyslog calls "Basic" syslog configuration:

mail.info /var/log/mail.log
mail.err @@server.example.net

How we create those in this module today:

rsyslog::component::legacy_config { 'mail.info':
  'priority'  => $rsyslog::legacy_config_priority,
  'target'    => $rsyslog::target_file,
  'confdir'  => $rsyslog::confdir,
  'key'       => 'mail.info',
  'value'    => '/var/log/mail.log',
}

rsyslog::component::legacy_config { 'mail.err':
  'priority'  => $rsyslog::legacy_config_priority,
  'target'    => $rsyslog::target_file,
  'confdir'  => $rsyslog::confdir,
  'key'       => 'mail.err',
  'value'    => '@@server.example.net',
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocsImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions