Auto add directories for rpm
#413 Fix name for directories and config files
#353 Remove trailing slash from prefix
Fixed an error showed by puppet if the EMPTY file is very large
Merge pull request #417 from rafacas/master

Fixed an error showed by puppet if the EMPTY file is very large
Merge pull request #414 from r4um/auto_rpm_dirs

Fix #199 Auto add directories for rpm.