Fix Issue #92
setting the perm_file => '0640', and  perm_dir => '0750', params do not take effect.
As they are overridden by the umask of the the rsyslog process. This is typically set by RHEL rsyslog init script. This can be resolved by setting the $Umask paramater to 0000.

It is well documented here:
http://www.rsyslog.com/doc/rsconf1_filecreatemode.html
fix some lint warnings, fixes #100
Refactor common params.

Just a bit of tidy up. These parameters either have common values or are missing from Suse and can be set to 'false' without having any adverse effect. Theres probably a whole lot more refactoring that can be done here - but this is a start.
Merge pull request #93 from mkrakowitzer/umask

Fix Issue #92 setting the perm_file => '0640', and  perm_dir => '0750', params do not take effect.
set umask only on systems where it is required
Merge pull request #104 from jae2/master

Refactor common params.
new release v3.4.0
Move default file to template to take advantage of rsyslog_version fact and different flags available pre version 7 - Fixes #61
Merge pull request #105 from leapcode/master

Fix #61 - use rsyslog_version fact in template
moved $PreserveFQDN at the top

This statement should be the first. As explained at https://wiki.archlinux.org/index.php/rsyslog:
"If you want to have full hostnames in logs, you need to add $PreserveFQDN on to the beginning of the file (before using any directive that write to files). This is because, rsyslog reads config file and applies it on-the-go and then reads the later lines."
Added support for RHEL/CentOS 5
Fix Ubuntu run rsyslog as syslog/adm not root
Set $rsyslog::spool_dir owner to be $rsyslog::run_user
Added server side configuration for RELP support.
Added RELP client support.
client.conf.erb: Added missing control statements.
README.md: Tweaked for RELP updates.
client.conf.erb: Catch RELP for remote_servers too.
client.conf.erb: Catch RELP default port for remote_servers.
client.conf.erb: Make this easier to look at.