Steffen Zieger
37748f72fc
couple of rubocop changes
2016-08-05 09:18:33 +02:00
Steffen Zieger
b47499b7b1
convert windows line endings to unix
2016-08-05 09:13:05 +02:00
Steffen Zieger
e640de24aa
execute rubocop task only on ruby >= 2.2
2016-08-05 08:30:24 +02:00
Steffen Zieger
50a96e3d57
require a higher ruby version for rubocop-rspec
2016-08-05 08:26:29 +02:00
Steffen Zieger
24c8fef2e8
depend on rubocop-rspec lower than 1.6
2016-08-05 08:16:58 +02:00
Steffen Zieger
dcf76f653a
fix some rubocop issues
2016-08-03 19:00:31 +02:00
Steffen Zieger
a53fe92fca
fix license name
2016-08-03 15:50:38 +02:00
Steffen Zieger
65e8443b50
improve testing of this module
2016-08-03 15:50:30 +02:00
Steffen Zieger
dc30e40b36
various lint changes
2016-08-03 15:49:18 +02:00
Steffen Zieger
4664bb38ee
fix config path for FreeBSD in spec tests
2016-08-03 12:48:46 +02:00
Steffen Zieger
2dbce1738b
fix type in log_filter expression
2016-08-03 12:44:31 +02:00
Steffen Zieger
a2e227d29a
Merge pull request #214 from jthiltges/escape-quotes
...
Escape single-quotes in string
2016-08-02 20:17:42 +02:00
John Thiltges
922c0bd27e
Escape single-quotes in string
2016-08-02 10:57:27 -05:00
Steffen Zieger
5892566100
quote os names in params, fixes #190
2016-08-02 12:27:26 +02:00
Steffen Zieger
fd7f863296
remove deprecated fields from metadata.json
2016-08-02 12:24:15 +02:00
Steffen Zieger
225dbcc77e
Merge branch 'master' of github.com:saz/puppet-rsyslog
2016-08-02 12:18:16 +02:00
Steffen Zieger
66cab47eeb
Merge branch 'dabelenda-fix_nil_rsyslog_version'
2016-08-02 12:18:00 +02:00
Steffen Zieger
01952801d5
Merge branch 'fix_nil_rsyslog_version' of https://github.com/dabelenda/puppet-rsyslog into dabelenda-fix_nil_rsyslog_version
2016-08-02 12:17:37 +02:00
Steffen Zieger
76760b6f7b
Merge pull request #210 from gheesch/master
...
added imfiles parameter. a hash to be used with hiera to create imfiles
2016-08-02 12:15:05 +02:00
Steffen Zieger
eda8412b2a
Merge pull request #209 from SPBTV/conditions
...
Add log_filters parameters to specify if/then conditions in RSysLog config
2016-08-02 12:14:46 +02:00
Steffen Zieger
94d8a17de6
Merge pull request #197 from vchepkov/snippet
...
set default snippet content to empty string
2016-08-02 12:14:06 +02:00
Steffen Zieger
895eaa406e
Merge pull request #205 from szponek/master
...
Change package_status default to present
2016-08-02 12:13:32 +02:00
Georg Heesch
b1e1632a21
added imfiles parameter. a hash to be used with hiera to create imfiles
2016-06-06 10:42:08 +02:00
Maxim Dobryakov
146dfda8fa
Use false as default value instead of undef
2016-05-19 19:48:17 +03:00
Maxim Dobryakov
dff654e2b8
Add log_filters parameters to specify if/then conditions in RSysLog configs
2016-05-19 19:03:44 +03:00
Grzegorz Ojrzanowski
4aeb98fc74
Change package_status default to present
2016-05-03 11:59:36 +12:00
Steffen Zieger
0aca4fa5d8
add missing imjournal rate limit params
2016-04-29 16:39:07 +02:00
Steffen Zieger
fa094e71f5
add rsyslog version fact support for Gentoo
2016-04-29 16:25:24 +02:00
Steffen Zieger
dde864629a
Merge pull request #201 from shaunrampersad/imjournal
...
Add support for imjournal rate limit settings
2016-04-29 16:13:18 +02:00
Steffen Zieger
63809d3065
really update travis tests
2016-04-29 14:52:58 +02:00
Steffen Zieger
965973568b
update travis tests
2016-04-29 14:49:52 +02:00
Steffen Zieger
076dc1f111
Merge pull request #196 from vchepkov/purge
...
notify service if config files have been purged
2016-04-29 14:33:17 +02:00
Steffen Zieger
c62a39e879
Merge pull request #191 from thbounzer/patch-1
...
casecmp returns a value that is always true
2016-04-29 14:32:14 +02:00
Steffen Zieger
475418f17a
Merge pull request #189 from earsdown/earsdown-snippet-replace-slashes-in-namevar
...
rsyslog::snippet: replace slashes with dashes in namevar
2016-04-29 14:31:43 +02:00
Steffen Zieger
21dbf89755
Merge pull request #186 from tedwardia/rsyslog_version_fix
...
add additional check against @rsyslog_version in case rsyslog is not installed
2016-04-29 14:31:15 +02:00
Steffen Zieger
95fe27474e
Merge pull request #160 from eholzbach/master
...
fixed packages for FreeBSD
2016-04-29 14:30:30 +02:00
Shaun Rampersad
ed6b4ab8be
Wrap imjournal configs in if clause to avoid being created on systems that do not support imjournal
2016-03-23 12:52:08 +02:00
Shaun Rampersad
5987a35730
Fix missing im_journal_statefile var in init.param
2016-03-22 09:23:05 +02:00
Shaun Rampersad
286011caff
Add support for
2016-03-07 15:25:04 +02:00
Shaun Rampersad
cfa3db9fc1
Added support for imjournal rate limit settings
2016-03-07 11:52:40 +02:00
Vadym Chepkov
f889a3ac09
set default snippet content to empty string
...
having attribute as mandatory requires supply content even when ensure => absent
Also, even in case of 'present' , one might want to just override a config file supplied by an rpm, for example
2016-03-05 06:24:20 -05:00
Vadym Chepkov
301fe51831
notify service if config files have been purged
...
if config file was purged from rsyslog_d directory service needs to be notified
moved common attributes into single definition
2016-03-05 06:09:20 -05:00
Shaun Rampersad
82d4592016
Update scope for log_local_custom
2016-03-01 11:43:28 +02:00
Carlo Iannaccone
a074c00ca8
casecmp returns a value that is always true
...
Last if was always evaluated to true, no matter what is the content of @osfamily. (A value is always evaluated to true in ruby).
2016-02-25 15:51:57 +01:00
earsdown
291d32abe4
imfile.erb: fix broken regular expression
2016-02-22 13:44:44 +11:00
earsdown
5450fba76e
rsyslog::snippet & rsyslog::imfile: now also replaces spaces in namevar
2016-02-22 13:31:09 +11:00
earsdown
e52b91e5f8
rsyslog::imfile: template now handles slashes in namevar when creating statefile
2016-02-22 13:08:53 +11:00
earsdown
db787d1632
rsyslog::snippet: replace slashes with dashes in namevar
...
This commit enables the use of rsyslog::imfile {'/var/log/audit/audit.log': ... }
2016-02-22 12:28:36 +11:00
Diego Abelenda
e31f6fa0ff
Fix case rsyslog_version = nil
2016-02-15 11:17:34 +01:00
Diego Abelenda
dad6ea13c6
Add unit tests for rsyslog_version = nil
2016-02-15 11:17:14 +01:00