-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
Could you add support for Solaris syslog configuration, please?
I assume current module doesn't like this constructs:
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
when trying to apply this resource:
syslog { 'local0':
ensure => present,
facility => 'local0',
level => 'info',
action_type => 'file',
action => '/var/log/local0.log',
target => '/etc/syslog.conf',
provider => 'augeas',
}
I get an error:
Error: /Stage[main]/Main/Syslog[local0]: Could not evaluate: Augeas didn't load /etc/syslog.conf with Syslog.lns: Get did not match entire input (line:24, character:0)
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working