Add parameter 'v8plus' for rsyslog version 8+

There has been some significant config changes in versions 8+ of
Rsyslog, one of which is causing deprecated warnings with the Puppet
module. This commit adds are class boolean parameter 'v8plus' to signify
if the version of Rsyslog is version 8 or greater.

Also, the deprecation warning is fixed (correct syntax is used).
ignore .DS_Store files
add parameter for setting the remote forward format, fixes #46
add fact for rsyslog version from pr #50, refs #87
Add parameter 'v8plus' for rsyslog version 8+

There has been some significant config changes in versions 8+ of
Rsyslog, one of which is causing deprecated warnings with the Puppet
module. This commit adds are class boolean parameter 'v8plus' to signify
if the version of Rsyslog is version 8 or greater.

Also, the deprecation warning is fixed (correct syntax is used).
Use fact for rsyslog version instead of param

With the introduction of the rsyslog_version fact, it seems more
consistent to use that to determine what version of the config to use.

The fact has also been updated to support FreeBSD (although not well
tested)
Merge branch 'master' of github.com:yasn77/puppet-rsyslog

Conflicts:
	templates/client.conf.erb
	templates/rsyslog.conf.erb
Revert "Add parameter 'v8plus' for rsyslog version 8+"

This reverts commit 18a16ca041469d99bc0c5d27c46db62a06903ed8.
Update spec tests to support rsyslog_version fact

With commit 9fcacf58, the module uses the rsyslog_version fact in
templates. This commit updates the spec files to run cleanly with this
fact.
Issue #84: Document *_package_name usage

Document that setting false for package_name prevents the modules from
managing the package.
Merge pull request #87 from yasn77/master

Add parameter 'v8plus' for rsyslog version 8+
* Fix error in template if rsyslog_version fact is not present
Merge pull request #90 from treydock/master

Fix error in template if rsyslog_version fact is not present
Merge pull request #89 from yasn77/document_package_name_usage

Issue #84: Document *_package_name usage
fix suse support
set spool_dir seltype to syslogd_var_lib_t

This type is necessary for rsyslogd to be able to write in spool_dir
when selinux is enabled and enforcing. For some reason, this directory
does not have the correct seltype in RHEL <= 7 and using disk queues or
.state files does not work.
Merge pull request #97 from t-8ch/suse

fix suse support
Merge pull request #98 from ckaenzig/spool-dir-seltype

set spool_dir seltype to syslogd_var_lib_t
add max_message_size parameter
Allow option to avoid loading imfile module twice.

This throws a warning with version 8 of rsyslog.

The best way to use imfile is to define the module list in
extra_modules. However, if you still try to create an imfile without
adding that it will still work the old way (adding modload imfile to the
begining of the imfile).