You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having issues with Ubuntu 16.04 which has rsyslog.conf in RainerScript format.
We are puppetizing deployments for Ubuntu 16.04 OSes and we need to have it run successfully with this new format.
When running the rsyslog.lns on the file, we get the error below:
Error: /Stage[main]/Entos_syslog_config/Syslog[kern_info]: Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns: Get did not match entire input (line:13, character:0)
Error: /Stage[main]/Entos_syslog_config/Syslog[all_info]: Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns: Get did not match entire input (line:13, character:0)
...etc...
Using augtool, I found that it is the following two lines that are in rainerscript format instead of legacy (if commented out and replaced with legacy format, augtool runs fine on rsyslog.conf on this OS).
"rainerscript"
module(load="imuxsock") # provides support for local system logging
module(load="imklog") # provides kernel logging support
"legacy"
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support
Having issues with Ubuntu 16.04 which has rsyslog.conf in RainerScript format.
We are puppetizing deployments for Ubuntu 16.04 OSes and we need to have it run successfully with this new format.
When running the rsyslog.lns on the file, we get the error below:
Error: /Stage[main]/Entos_syslog_config/Syslog[kern_info]: Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns: Get did not match entire input (line:13, character:0)
Error: /Stage[main]/Entos_syslog_config/Syslog[all_info]: Could not evaluate: Augeas didn't load /etc/rsyslog.conf with Rsyslog.lns: Get did not match entire input (line:13, character:0)
...etc...
Using augtool, I found that it is the following two lines that are in rainerscript format instead of legacy (if commented out and replaced with legacy format, augtool runs fine on rsyslog.conf on this OS).
"rainerscript"
module(load="imuxsock") # provides support for local system logging
module(load="imklog") # provides kernel logging support
"legacy"
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support
Rsyslog reference
http://www.rsyslog.com/doc/v8-stable/configuration/basic_structure.html#configuration-file
Thanks!
The text was updated successfully, but these errors were encountered: