Conversation
Syslog-ng package failed to install on Ubuntu 14.04 because syslog-ng-core package conflicted with the rsyslog package. The problem was fixed by ensuring that rsyslog is removed before syslog-ng installation is attempted. To make things cleaner and more manageable install and params subclasses were also added.
|
First of all thank you for your interest in this module and for your PR!
|
|
I'm using the OS default packages. I was also rather surprised that installing syslog-ng did not automatically remove rsyslogd, but that seemed to be the case. So it's not just about not being able to have both installed at the same time. If a separate syslog-ng module exists, maybe syslog-ng installation should be removed from the patterndb module altogether? I can do that if that's fine with you. |
|
Out of curiosity, which files conflict between rsyslog and syslog-ng? I'd prefer to have Finally, separating the OS defaults in |
Hi,
The first commit fixes some (trivial) puppet-lint warnings. From what I've read Puppet 4 does not allow references to relative class names, so "include patterdb" won't work, whereas "include ::patterndb" will. For this reason I fixed those.
Puppet-lint also complained about indentation; the resources are currently defined like this:
Whereas puppet-lint wants them to look like this:
If you want, I can trivially fix these indentation issues also.
The second commit's primary purpose is to fix installation of syslog-ng on Ubuntu 14.04. It is quite likely that installation was broken on other Debian derivatives also. The commit message contains hopefully adequate explanation of what was done and why.