Resolved duplicate package declaration error

Also simplified os lookup for packages.

Comment for mailplugins regarding undef

Fixed messed-up pathing for files and destinations.

Template wasn't generating correctly.

changed <% @whatever -%> to <%= @whatever %>.
Merge pull request #23 from tthayer/master

Fixed RHEL issues with init.pp and made auth-passwd template work.