fix attributes for TCP and add rpm and deb packages to cookbook