Граф коммитов

416 Коммитов

Автор SHA1 Сообщение Дата
Steffen Zieger 98721d9cf3 Merge pull request #33 from pronix/master
add imfile description to readme
2013-10-05 07:17:12 -07:00
Steffen Zieger cbdf8f677c add puppet-lint 2013-10-05 16:07:47 +02:00
Steffen Zieger 8d9f9f927c update .gemfile 2013-10-05 16:05:54 +02:00
Steffen Zieger cb7024233a fix travis.yml file 2013-10-05 15:52:08 +02:00
Steffen Zieger 29767b9864 exclude some puppet and rvm versions on travis 2013-10-05 15:49:56 +02:00
Steffen Zieger 37ec28007a add ghpublisher to travis config 2013-10-05 15:40:35 +02:00
Steffen Zieger 61781e48bf ignore fixtures dir 2013-10-05 15:28:57 +02:00
cstackpole 57dccb620d Updating params to support EL5 packages. 2013-08-27 18:05:38 -05:00
mark hellewell 6e43b5f28e added trailing slash to rsyslog::server's $server_dir default
When I applied `rsyslog::server`, with defaults, logs were ending up as `/srv/log<srcname>/file…` rather than `/srv/log/<srcname>/file…`.  I presume this is incorrect?

Ubuntu 12.04.2, rsyslog package 5.8.6-1ubuntu8.
2013-07-28 17:52:52 +10:00
Steffen Zieger c323f71659 Merge pull request #34 from philandstuff/master
Expose purge_rsyslog_d as a parameter on the toplevel rsyslog class
2013-07-14 13:03:05 -07:00
Philip Potter a8a6fb40ba Expose purge_rsyslog_d as a parameter
Sometimes you really do want to purge the rsyslog.d directory. Expose
it as an option.
2013-07-03 16:01:58 +01:00
dima a2fb60457b read from file description 2013-05-27 16:43:07 +02:00
Steffen Zieger 962798488d Merge pull request #30 from mbornoz/improvements
Improvements
2013-05-10 05:26:58 -07:00
Mathieu Bornoz 5c4812a4f4 Gemfile instead of .gemfile 2013-04-29 17:15:25 +02:00
Mathieu Bornoz c605825098 Gemfile: upgraded gem puppetlabs_spec_helper + cosmetics 2013-04-29 17:05:22 +02:00
Mathieu Bornoz 3db5ab49f0 travis: small improvements 2013-04-29 16:54:43 +02:00
Mathieu Bornoz 05233e0d67 added a default site.pp (require to test defined type) + adapt. .gitignore 2013-04-29 15:50:05 +02:00
Mathieu Bornoz d3570df703 it doesn't make sense to test classes that are never included directly 2013-04-29 15:30:29 +02:00
Mathieu Bornoz 67af76cbe4 Create log directories with same ownership as files 2013-04-29 12:38:56 +02:00
Mathieu Bornoz abc3074ccc use rsyslog::snippet for client and server configs
Doesn't feature any functional change, but it seems cleaner to use
that definition to avoid repeating dependencies and paths.
2013-04-29 12:37:13 +02:00
Mathieu Bornoz a726b40454 rsyslog: make all module params configurable
+ support false for *_package_name variables. This is useful if relp
support is not necessary as it happens that no packages exist for
RedHat < 6.

All these changes should be fully backward compatible.
2013-04-29 12:33:46 +02:00
Steffen Zieger 08c4996586 Merge pull request #24 from johanek/development
Allow server to split logs by hostname
2013-04-07 13:37:37 -07:00
Steffen Zieger bf2b8f173e Merge pull request #25 from hunner/add_custom_params
Add `custom_params` to `rsyslog::client` for custom templates
2013-04-07 13:35:12 -07:00
Steffen Zieger 5fe39b49c2 Merge pull request #26 from johanek/imfile
Rename $InputFilePollingInterval to $InputFilePollInterval
2013-04-07 13:34:00 -07:00
Johan van den Dorpe e9680b380f Rename $InputFilePollingInterval to $InputFilePollInterval 2013-03-23 11:31:42 +00:00
Hunter Haugen e1092f423f Add `custom_params` to `rsyslog::client` for custom templates
When doing lookups in templates, variables that are not explicitly
scoped with `scope.lookupvar()` must be in the scope of the `template()`
function call. `rsyslog::client` allows custom templates to be called,
but doesn't allow custom parameters to be passed for the alterate
template to use.

This pull request adds a `custom_params` parameter so a hash of extra
parameters may be passed for the custom template to access without
explicit scoping knowledge.
2013-03-21 12:05:15 -07:00
Johan van den Dorpe 43ea1899ea Update documentation to explain default behaviour of rsyslog::server and suggest alternative 2013-03-11 23:06:23 +00:00
Johan van den Dorpe bdee10e4e4 Add server-hostname template and tests 2013-03-11 23:06:23 +00:00
Johan van den Dorpe 9c7fe0eeb2 Update tests to check content of server.conf 2013-03-11 23:06:23 +00:00
Johan van den Dorpe 8b4225cd95 Change default template to server-default.conf.erb 2013-03-11 23:06:23 +00:00
Johan van den Dorpe cd214870c9 Rename server.conf.erb to server-default.conf.erb and create _default partial templates
Split out server template into two parts:
server/_default-{header,footer}.conf.erb which hold unchaning values
server-default.conf.erb which contains commonly modified values, and
imports _default.conf.erb
2013-03-11 23:06:23 +00:00
Johan van den Dorpe 8c409b4fa2 refactor tests to reduce duplication 2013-03-11 23:06:23 +00:00
Steffen Zieger 40200058af add module summary 2013-03-06 22:50:27 +01:00
Steffen Zieger 2c92a75261 Merge pull request #22 from rjw1/patch-1
Update README.md
2013-03-06 13:46:54 -08:00
bob d1d35aea58 Update README.md
fix a typoed default
2013-02-12 14:05:06 +00:00
Steffen Zieger ed8d70fe13 Version 2.0.0 2013-02-02 01:28:09 +01:00
Steffen Zieger a0bfb6784f whitespace consistency
fixes #18
2013-02-02 01:23:58 +01:00
Steffen Zieger ab10242f55 remove trailing slash
fixes #17
2013-02-02 01:19:58 +01:00
Steffen Zieger 7603ad164b Merge pull request #19 from jpknoll/patch-4
Patch 4
2013-02-01 16:17:17 -08:00
John Knoll 6565090751 Update manifests/params.pp 2013-01-29 13:53:02 -08:00
John Knoll 6c00f54ae7 Update manifests/config.pp 2013-01-29 13:52:17 -08:00
John Knoll 2eb9bc34b6 Update manifests/config.pp 2013-01-29 13:51:28 -08:00
Steffen Zieger b65fad8ba5 Merge pull request #14 from NITEMAN/patch-1
Typo in param name manifests/server.pp
2012-12-16 11:54:07 -08:00
Pedro González Serrano 7d87752f31 Why $rsyslog::params::rsyslog_d gets purged?
On Debian (squeeze) when installing other packages (like postfix) some of them add files to /etc/rsyslog.d/

In particular I can't see how to add postfix include to the mix of this module without coupling it with others or coding a specific hack on template.

Postfix include (/etc/rsyslog.d/postfix.conf) looks like:
~~~
# Create an additional socket in postfix's chroot in order not to break
# mail logging when rsyslog is restarted.  If the directory is missing,
# rsyslog will silently skip creating the socket.
$AddUnixListenSocket /var/spool/postfix/dev/log
~~~
2012-12-14 21:17:48 +01:00
Pedro González Serrano 1dde79c608 Update manifests/server.pp
Fixed typo in param name
2012-12-12 19:08:21 +01:00
Steffen Zieger a9aa40fd33 Add travis-ci build status to README 2012-11-23 22:19:09 +01:00
Steffen Zieger 99b65e39d5 remove trailing comma 2012-11-19 18:31:00 +01:00
Steffen Zieger fc3dc643e1 add puppet-lint to gemfile 2012-11-19 13:56:28 +01:00
Steffen Zieger 6bcb643464 add gemfile 2012-11-19 13:53:00 +01:00
Steffen Zieger 7b4eef3aa1 some style guide changes 2012-11-19 13:51:25 +01:00