Skip to content
Snippets Groups Projects
Commit 79076d49 authored by Samuel Åkesson's avatar Samuel Åkesson :hamster:
Browse files

Add log_host parameter, defaults to loghost.lysator.liu.se

parent 8650d1e7
No related branches found
No related tags found
No related merge requests found
class lyslogclient
{
class lyslogclient(
String $log_host = 'loghost.lysator.liu.se',
) {
file {
'/etc/rsyslog.d/lysator.conf':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
source => 'puppet:///modules/lyslogclient/lysator.conf';
content => template('puppet:///modules/lyslogclient/lysator.conf'),
}
ensure_packages(['rsyslog'],
......
# Denna fil hanteras av puppet i förrådet lyslogclient.
*.* @loghost.lysator.liu.se
*.* @<%= @log_host %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment