Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer syslog-ng configuration, simpler include mechanism. #2

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

WaffleSouffle
Copy link

No description provided.

johntdyer and others added 30 commits June 27, 2012 12:23
Allow forwarding configuration
array of hashes named global_opts for additional global options to set.
Tested on ubuntu 14.04 with syslog 3.5.3-1.
Moved cookbook version up to 1.5.0.
Read syslog-ng config version from attribute.

attributes/default.rb
Replaced: sync with flush_lines, and long_hostnames with chain_hostnames.
Added: syslog_ng_config_name.

files/default/syslog-ng
Try to handle running on ubuntu as well as CentOS by trying different binary paths and lockfiles.

metadata.rb
Moved to version 1.5.0.

recipes/default.rb
Added ruby_block to add include 'conf.d' if not present in existing syslog-ng.conf;
definition call 'generate_syslog_ng_conf_if_missing'.
Altered: order of service start.
Updated: default attributes (see above).

templates/default/00base.erb
Updated: default attributes (see above).

Added:
definitions/generate_syslog_ng_conf_if_missing.rb
templates/default/syslog-ng.conf.erb

Deleted:
files/default/syslog-ng.conf
Replaced with template above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants