use flatten() not sum() see https://github.com/anchor/puppet-module-tcpwrappers/issues/1

There is also an small example added to the README, should really have been a separate request, sorry.