initial import from puppet-rsyslog module

Change-Id: I9ea13f5385d2528a10ae0f95a3c5397efe2e8acf